Solved

How to send TBitmap to midas server as param

Posted on 2001-07-03
1
167 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to send PJL commands to printer 3 100
Magic Software info 18 131
drawing animated level bar based on numbers 3 97
Firemonkey BASS_Init into a thread 17 9
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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