Solved

Emergency

Posted on 2001-08-08
1
248 Views
Last Modified: 2010-04-06
How to transfer a array(Just like array of string,array of olevariant) to mts.I think i should declare a function in mts type libarary.How to declare function's prototype?
0
Comment
Question by:firstshine
1 Comment
 
LVL 21

Accepted Solution

by:
ziolko earned 50 total points
ID: 6366854
I'm not sure if it work with mts but in COM/DCOM it would be :
function FunctionName(ArrayOfParams: OleVariant):ResultType
and later
.
.
.
var P: OleVariant;
P:=VarArrayCreate();
.
.
.
FunctionName(P);
Just remeber that function need to check if ArrayOfParams is an Array (IsVarArray(ArrayOfParams))
ziolko.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
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…

929 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

9 Experts available now in Live!

Get 1:1 Help Now