• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

How to send TBitmap to midas server as param

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
sunset99
Asked:
sunset99
1 Solution
 
EpsylonCommented:
Use VarArrayCreate, VarArrayLock and VarArrayUnlock to create and fill a vaiant array with the bitmap data.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now