Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Emergency

Posted on 2001-08-08
1
Medium Priority
?
258 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 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Loops Section Overview

971 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