Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to invoke the methods between C components??

2 posts in General Discussion (old) Last posting was on 2000-03-15 20:11:55.0Z
Dillion wu Posted on 2000-03-15 20:00:41.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 15 Mar 2000 15:00:41 -0500
From: Dillion wu <wu13@hotmail.com>
Reply-To: wu@hotmail.com
Organization: swifttrade.com
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Subject: How to invoke the methods between C components??
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 5
NNTP-Posting-Host: 207.112.88.71
Message-ID: <347_38CFEBE9.19DB49C0@hotmail.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26346
Article PK: 157015

I am developing the C components using Jaguar CTS 3.0.
But how can I invoke the methods between C componets?

Thanks

Dillion Wu.
wu13@hotmail.com


Dave Wolf [Sybase] Posted on 2000-03-15 20:11:55.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: How to invoke the methods between C components??
Date: Wed, 15 Mar 2000 15:11:55 -0500
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.72
Message-ID: <347_ORysItrj$GA.151@forums.sybase.com>
References: <347_38CFEBE9.19DB49C0@hotmail.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26344
Article PK: 157013

Try something like this. Remember my C++ isnt great but...

Object_var object = orb->string_to_object ("MyPack/MyComponent");
MyPackage::MyComponent_var stub = MyPackage::MyComponent::_narrow(object);

Dave Wolf
Internet Applications Division

"Dillion wu" <wu13@hotmail.com> wrote in message
news:38CFEBE9.19DB49C0@hotmail.com...
> I am developing the C components using Jaguar CTS 3.0.
> But how can I invoke the methods between C componets?
>
> Thanks
>
> Dillion Wu.
> wu13@hotmail.com
>