Emergency

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?
firstshineAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ziolkoConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.