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
Solved

Emergency

Posted on 2001-08-08
1
250 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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