Solved

How to send TBitmap to midas server as param

Posted on 2001-07-03
1
171 Views
Last Modified: 2010-04-06
SITUATION
=========
In my MIDAS system, I need to save bitmaps to database, and this operation must be provided as a remote procedure call, so I have to send bitmap data as a parameter.

PROBLEM
=========
TBitmap is not an OLE compatible data type, then what kind of data type should I use in the type library in server program for those binary data types like TBitmap? And what to do on client side?

ANSWER
=========
Waiting for your help...  :-)
0
Comment
Question by:sunset99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
Epsylon earned 55 total points
ID: 6247876
Use VarArrayCreate, VarArrayLock and VarArrayUnlock to create and fill a vaiant array with the bitmap data.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 359
error 1.1 400 Bad request idhttp delphi 18 208
JAudiorecorder record freezing the app 29 83
Browsing a TTreeView in Delphi 5 32
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question