Solved

How to send TBitmap to midas server as param

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now