Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Emergency

Posted on 2001-08-08
1
Medium Priority
?
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 21

Accepted Solution

by:
ziolko earned 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

722 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