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.

PB COM Object Problems ( ASP Ref arguments and recordset)

2 posts in Objects Last posting was on 2005-12-21 18:20:44.0Z
Papapetrou Patroklos Posted on 2005-12-20 11:08:50.0Z
From: "Papapetrou Patroklos" <ppapapetrou@ots.com.gr>
Newsgroups: sybase.public.powerbuilder.objects
Subject: PB COM Object Problems ( ASP Ref arguments and recordset)
Lines: 19
Organization: OTS SA
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
X-Original-NNTP-Posting-Host: adsl98-141dynamic.salonica.acn.gr
Message-ID: <43a7e3ee@forums-2-dub>
X-Original-Trace: 20 Dec 2005 02:58:54 -0800, adsl98-141dynamic.salonica.acn.gr
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 20 Dec 2005 02:58:57 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 20 Dec 2005 03:08:50 -0800
X-Trace: forums-1-dub 1135076930 10.22.108.75 (20 Dec 2005 03:08:50 -0800)
X-Original-Trace: 20 Dec 2005 03:08:50 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8734
Article PK: 735948

Hello everybody

I have created a powerbuilder object and succesfullt deployed to IIS6.0 as a
COM component. I would like to call it from an ASP page to get some results
from the database but I have two problems.
- Which datatype should I return to the ASP page from my component? I have
tried to return a resultset but ASP cannot parse it through all the records
( actually ASP needs a recordset and not a resultset )
- I am trying to have a fucntion with two or more arguments by reference. I
have checked the option in the deployment configuration to treat reference
arguments as variants but I receive the error "type mismatch" from ASP when
I try to call this function... ( When I have only one argument everything
works fine!! )

Any help would be highlt appreciated

Papapetrou Patroklos


Paul Horan[TeamSybase] Posted on 2005-12-21 18:20:44.0Z
From: "Paul Horan[TeamSybase]" <paulhoran_nospam@adelphia.net>
Newsgroups: sybase.public.powerbuilder.objects
References: <43a7e3ee@forums-2-dub>
Subject: Re: PB COM Object Problems ( ASP Ref arguments and recordset)
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: 206.106.225.23
Message-ID: <43a99aa3$1@forums-2-dub>
X-Original-Trace: 21 Dec 2005 10:10:43 -0800, 206.106.225.23
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 21 Dec 2005 10:10:44 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 21 Dec 2005 10:20:44 -0800
X-Trace: forums-1-dub 1135189244 10.22.108.75 (21 Dec 2005 10:20:44 -0800)
X-Original-Trace: 21 Dec 2005 10:20:44 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8735
Article PK: 735950

Please do not cross-post. I responded to your question in the
OLE-OCX-ActiveX forum.

Paul Horan[TeamSybase]

"Papapetrou Patroklos" <ppapapetrou@ots.com.gr> wrote in message
news:43a7e3ee@forums-2-dub...
> Hello everybody
>
> I have created a powerbuilder object and succesfullt deployed to IIS6.0 as
> a
> COM component. I would like to call it from an ASP page to get some
> results
> from the database but I have two problems.
> - Which datatype should I return to the ASP page from my component? I have
> tried to return a resultset but ASP cannot parse it through all the
> records
> ( actually ASP needs a recordset and not a resultset )
> - I am trying to have a fucntion with two or more arguments by reference.
> I
> have checked the option in the deployment configuration to treat reference
> arguments as variants but I receive the error "type mismatch" from ASP
> when
> I try to call this function... ( When I have only one argument everything
> works fine!! )
>
> Any help would be highlt appreciated
>
> Papapetrou Patroklos
>
>