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.

calling COM object

2 posts in Objects Last posting was on 2004-12-28 14:44:48.0Z
Geoffrey Posted on 2004-12-28 14:08:39.0Z
From: "Geoffrey" <geoffreysy@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: calling COM object
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Original-NNTP-Posting-Host: 203.177.126.202
Message-ID: <41d168e2$1@forums-2-dub>
X-Original-Trace: 28 Dec 2004 06:08:34 -0800, 203.177.126.202
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 28 Dec 2004 06:08:35 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 28 Dec 2004 06:08:39 -0800
X-Trace: forums-1-dub 1104242919 10.22.108.75 (28 Dec 2004 06:08:39 -0800)
X-Original-Trace: 28 Dec 2004 06:08:39 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8155
Article PK: 735422

Hi,

I am trying to migrate my application from PB7 to PB10 (10.0.1 build 6019)

Here is my problem
a. COM DLLs were properly compiled.
b. I can call simple DLL with no problem.
c. If the DLL contains a call to another COM DLL, it will return -3 during
ConnectToNewObject()

Question:
a. is there a new restriction in PB10 that it cannot call another DLL
within a DLL control?
b. is there a special setting during compilation and deployment?

Thanks,
Geoff


Geoffrey Posted on 2004-12-28 14:44:48.0Z
From: "Geoffrey" <geoffreysy@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <41d168e2$1@forums-2-dub>
Subject: Re: calling COM object
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Original-NNTP-Posting-Host: 203.177.126.202
Message-ID: <41d1715c$1@forums-2-dub>
X-Original-Trace: 28 Dec 2004 06:44:44 -0800, 203.177.126.202
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 28 Dec 2004 06:44:45 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 28 Dec 2004 06:44:48 -0800
X-Trace: forums-1-dub 1104245088 10.22.108.75 (28 Dec 2004 06:44:48 -0800)
X-Original-Trace: 28 Dec 2004 06:44:48 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8156
Article PK: 735421

After some testing, I've noticed the following:

Apparently, it can call another DLL with no problem. The problem is this:

I have the following
1) DLL A
2) DLL B
-- inside DLL B, it calls DLL A

3) PROGRAM A
CALL DLL A -> OK
CALL DLL B -> ERROR

4) PROGRAM B
CALL DLL B -> OK
CALL DLL A -> ERROR

Any advise?

thanks.

"Geoffrey" <geoffreysy@hotmail.com> wrote in message
news:41d168e2$1@forums-2-dub...
> Hi,
>
> I am trying to migrate my application from PB7 to PB10 (10.0.1 build 6019)
>
> Here is my problem
> a. COM DLLs were properly compiled.
> b. I can call simple DLL with no problem.
> c. If the DLL contains a call to another COM DLL, it will return -3
during
> ConnectToNewObject()
>
> Question:
> a. is there a new restriction in PB10 that it cannot call another DLL
> within a DLL control?
> b. is there a special setting during compilation and deployment?
>
> Thanks,
> Geoff
>
>