🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1799

Re: Call Mts Component builded by VC6

#1799
From: Harold Howe [TeamB]
Date: Wed, 19 May 1999 00:00
21 lines
1127 bytes
>   Variant vResult;
>   Variant vMTSObject = CreateOleObject("PMTSIDObject.IDServer");
>   Variant  v0,v1;
>   v0 =2;
>   vMTSObject.OleProcedure("RetKey",
>              v0, v1);
> 
> v0 is input value.
> v1 is return value.
> 
> I try use OleFunction or OlePropertyGet,
> All fail.


Does the COM object have a type library that you can import? That way,
you can call the object directly instead of going through IDispatch. How
do you call the MTS object from VC6? With IDispatch, or through the
vtable?

Harold Howe [TeamB]
http://www.bcbdev.com
Technical Details
Message-ID: <3742DAED.181CB805@bcbdev.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7huatp$ed312@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,3b0873315a3c548f
X-Google-Attributes: gidfcd2b,public
From: "Harold Howe [TeamB]" <hhowe@bcbdev.com>
Subject: Re: Call Mts Component builded by VC6
Date: 1999/05/19
Message-ID: <3742DAED.181CB805@bcbdev.com>
X-Deja-AN: 479659936
Content-Transfer-Encoding: 7bit
References: <7huatp$ed312@forums.borland.com>
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier