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.

COM (dll) object

2 posts in Objects Last posting was on 2003-09-01 16:12:00.0Z
rafal Posted on 2003-09-01 14:50:13.0Z
From: "Rafal" <ralf@cursor.pl>
Newsgroups: sybase.public.powerbuilder.objects
Organization: 217.153.87.35
X-Newsreader: AspNNTP 1.50 (Tri Hoang)
Subject: COM (dll) object
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: transinc-win02.netoptex.com
Message-ID: <3f535ce8$1@forums-2-dub>
X-Original-Trace: 1 Sep 2003 07:51:20 -0700, transinc-win02.netoptex.com
Lines: 9
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Sep 2003 07:48:15 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Sep 2003 07:50:13 -0700
X-Trace: forums-1-dub 1062427813 10.22.108.75 (1 Sep 2003 07:50:13 -0700)
X-Original-Trace: 1 Sep 2003 07:50:13 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7567
Article PK: 734847

I create COM object in PB8. I can use it in VB6 by reference (every class,
method and property are ready to use) but in PB8 I do not know how to call COM
.dll. Can anyone help me?




---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Paul Horan[TeamSybase] Posted on 2003-09-01 16:12:00.0Z
From: "Paul Horan[TeamSybase]" <paulhATvcisolutionsDOTcom>
Newsgroups: sybase.public.powerbuilder.objects
References: <3f535ce8$1@forums-2-dub>
Subject: Re: COM (dll) object
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: ny-chicagost2d-63.buf.adelphia.net
Message-ID: <3f537014$1@forums-2-dub>
X-Original-Trace: 1 Sep 2003 09:13:08 -0700, ny-chicagost2d-63.buf.adelphia.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Sep 2003 09:10:02 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Sep 2003 09:12:00 -0700
X-Trace: forums-1-dub 1062432720 10.22.108.75 (1 Sep 2003 09:12:00 -0700)
X-Original-Trace: 1 Sep 2003 09:12:00 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7568
Article PK: 734848

Here's a code snippet:

integer RV
string bar=''
OLEObject myObj

myObj = Create OLEObject
RV = myObj.ConnecttoNewObject( "CLASS.objectname" ) // the registered classname of the COM object
myObj.foo( bar )

--
Paul Horan[TeamSybase]

Get the new PB9 books!
http://www.pb9books.com?source=newsgroups

Code samples on Sybase CodeXchange:
http://codexchange.sybase.com

ISUG Enhancement Requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

"Rafal" <ralf@cursor.pl> wrote in message news:3f535ce8$1@forums-2-dub...
> I create COM object in PB8. I can use it in VB6 by reference (every class,
> method and property are ready to use) but in PB8 I do not know how to call COM
> dll. Can anyone help me?
>
>
>
>
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp