Solved

How to send TBitmap to midas server as param

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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