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.

Registering a com object

5 posts in Objects Last posting was on 2008-08-29 13:43:20.0Z
Peter Reed Posted on 2008-08-28 17:17:06.0Z
Sender: 52c6.48b6d765.1804289383@sybase.com
From: Peter Reed
Newsgroups: sybase.public.powerbuilder.objects
Subject: Registering a com object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48b6dd92.53ab.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 Aug 2008 10:17:06 -0700
X-Trace: forums-1-dub 1219943826 10.22.241.41 (28 Aug 2008 10:17:06 -0700)
X-Original-Trace: 28 Aug 2008 10:17:06 -0700, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9764
Article PK: 736899

I have created a com object in version 10 and have no
trouble registering it on my pc.

But the guys who have the VB application and need to access
the object cannot register it on their pc - it complains
that the file is missing (the only name supplied is the com
object name).
I have given them the PBVM100.DLL and the com object .IDL so
I'm not sure what it is complaining about...?

The previous version 8.0 object registers ok, so I think it
may need a PB???100.dll file but I have 67 of them on my C:
drive - how do I know which one might work? Or is it
something else?

I haven't been able to find much information about building
and distributing com objects.


Randy Posted on 2008-08-28 18:32:56.0Z
From: "Randy" <cgreenwellNOSPAMPlease@sparusa.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <48b6dd92.53ab.1681692777@sybase.com>
Subject: Re: Registering a com object
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b6ef58@forums-1-dub>
Date: 28 Aug 2008 11:32:56 -0700
X-Trace: forums-1-dub 1219948376 10.22.241.152 (28 Aug 2008 11:32:56 -0700)
X-Original-Trace: 28 Aug 2008 11:32:56 -0700, vip152.sybase.com
X-Authenticated-User: powerbuilder
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9766
Article PK: 736897

Peter,

Look in the HTML Help file under deploying COM servers. It gives a list.

At a minimum:
"Deploy the PowerBuilder virtual machine and support files
(PBVM100.DLL,LIBJCC.DLL,LIBJUTILS.DLL,PBSHR100.DLL,PBCOMRT100.DLL) and any
other required modules (such as PBCOMRT100.DLL, PBDWE100.DLL, or any
required database software) to the computer containing the PowerBuilder COM
server."

There are other DLLs listed which need to be deployed based on what is in
your COM object.

Randy

<Peter Reed> wrote in message news:48b6dd92.53ab.1681692777@sybase.com...
>I have created a com object in version 10 and have no
> trouble registering it on my pc.
>
> But the guys who have the VB application and need to access
> the object cannot register it on their pc - it complains
> that the file is missing (the only name supplied is the com
> object name).
> I have given them the PBVM100.DLL and the com object .IDL so
> I'm not sure what it is complaining about...?
>
> The previous version 8.0 object registers ok, so I think it
> may need a PB???100.dll file but I have 67 of them on my C:
> drive - how do I know which one might work? Or is it
> something else?
>
> I haven't been able to find much information about building
> and distributing com objects.


Peter Reed Posted on 2008-08-29 11:40:09.0Z
Sender: 52c6.48b6d765.1804289383@sybase.com
From: Peter Reed
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Registering a com object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48b7e019.7b0e.1681692777@sybase.com>
References: <48b6ef58@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 29 Aug 2008 04:40:09 -0700
X-Trace: forums-1-dub 1220010009 10.22.241.41 (29 Aug 2008 04:40:09 -0700)
X-Original-Trace: 29 Aug 2008 04:40:09 -0700, 10.22.241.41
Lines: 32
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9767
Article PK: 736900

Thanks Randy, I have copied a few of those files that
weren't present, but got the same result. I don't have the
libjutils on my pc so don't think it's required...
The com object generation produced two DLLs which I have
supplied to the user.

I also checked the html help and couldn't find a list -
but it did say:
"Deploy the PowerBuilder virtual machine (PBVM100.DLL) and
any other required modules (such as PBDWE100.DLL or any
required database software) to the computer containing the
PowerBuilder COM server."

> Peter,
>
> Look in the HTML Help file under deploying COM servers.
> It gives a list.
>
> At a minimum:
> "Deploy the PowerBuilder virtual machine and support files
> (PBVM100.DLL,LIBJCC.DLL,LIBJUTILS.DLL,PBSHR100.DLL
> ,PBCOMRT100.DLL) and any other required modules (such as
> PBCOMRT100.DLL, PBDWE100.DLL, or any required database
> software) to the computer containing the PowerBuilder COM
> server."
>
> There are other DLLs listed which need to be deployed
> based on what is in your COM object.
>
> Randy


Randy Posted on 2008-08-29 13:43:20.0Z
From: "Randy" <cgreenwellNOSPAMPlease@sparusa.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <48b6ef58@forums-1-dub> <48b7e019.7b0e.1681692777@sybase.com>
Subject: Re: Registering a com object
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b7fcf8$1@forums-1-dub>
Date: 29 Aug 2008 06:43:20 -0700
X-Trace: forums-1-dub 1220017400 10.22.241.152 (29 Aug 2008 06:43:20 -0700)
X-Original-Trace: 29 Aug 2008 06:43:20 -0700, vip152.sybase.com
X-Authenticated-User: powerbuilder
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9769
Article PK: 736898

Peter,

Make sure you also deploy the Microsoft Files msvcr71.dll, msvcp71.dll, and
atl71.dll. You can read about these in the Release Bullletin for 10.

All of the dlls need to be in the directory with the COM server or in the
system path.

Randy

<Peter Reed> wrote in message news:48b7e019.7b0e.1681692777@sybase.com...
> Thanks Randy, I have copied a few of those files that
> weren't present, but got the same result. I don't have the
> libjutils on my pc so don't think it's required...
> The com object generation produced two DLLs which I have
> supplied to the user.
>
> I also checked the html help and couldn't find a list -
> but it did say:
> "Deploy the PowerBuilder virtual machine (PBVM100.DLL) and
> any other required modules (such as PBDWE100.DLL or any
> required database software) to the computer containing the
> PowerBuilder COM server."
>
>
>
>> Peter,
>>
>> Look in the HTML Help file under deploying COM servers.
>> It gives a list.
>>
>> At a minimum:
>> "Deploy the PowerBuilder virtual machine and support files
>> (PBVM100.DLL,LIBJCC.DLL,LIBJUTILS.DLL,PBSHR100.DLL
>> ,PBCOMRT100.DLL) and any other required modules (such as
>> PBCOMRT100.DLL, PBDWE100.DLL, or any required database
>> software) to the computer containing the PowerBuilder COM
>> server."
>>
>> There are other DLLs listed which need to be deployed
>> based on what is in your COM object.
>>
>> Randy


Roland Smith [TeamSybase] Posted on 2008-08-29 12:35:34.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.objects
References: <48b6ef58@forums-1-dub> <48b7e019.7b0e.1681692777@sybase.com>
Subject: Re: Registering a com object
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b7ed16$1@forums-1-dub>
Date: 29 Aug 2008 05:35:34 -0700
X-Trace: forums-1-dub 1220013334 10.22.241.152 (29 Aug 2008 05:35:34 -0700)
X-Original-Trace: 29 Aug 2008 05:35:34 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9768
Article PK: 736904

First you need the basic PB runtimes:

libjcc.dll
liblog.dll
pbshr100.dll
pbvm100.dll

If you are using Datawindows:

pbdwe100.dll

If you are connecting to a database you will need your database driver,
pbsyc100.dll for Sybase ASE for example.