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.

RSRC32.dll function error

2 posts in Objects Last posting was on 2006-02-13 17:03:48.0Z
Tom Nyorde Posted on 2006-02-10 17:45:55.0Z
Sender: 73c2.43eccf78.1804289383@sybase.com
From: Tom Nyorde
Newsgroups: sybase.public.powerbuilder.objects
Subject: RSRC32.dll function error
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <43ecd153.73e3.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 10 Feb 2006 09:45:55 -0800
X-Trace: forums-1-dub 1139593555 10.22.241.41 (10 Feb 2006 09:45:55 -0800)
X-Original-Trace: 10 Feb 2006 09:45:55 -0800, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8779
Article PK: 735985

I have just migrated from PB. 8.0.4 TO PB 9.0.2. Build 7509
I have a local external function
FUNCTION uInt _MyGetFreeSystemResources32@4(uInt resource)
LIBRARY "rsrc32.dll"
that checks for system resources.

This function works fine in PB 8 but I am having a compile
error in PB 9.

Apparently it doesn't like the @ sign in the function.

I do have both the rsrc32.dll and rsrc16.dll files loaded.

My environment is Windows 2000. Is there a way around this
or how can I resolve this problem.

I will appreciate any help.

Thanks


Millard F. Brown III Posted on 2006-02-13 17:03:48.0Z
From: "Millard F. Brown III" <millard.brown@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <43ecd153.73e3.1681692777@sybase.com>
Subject: Re: RSRC32.dll function error
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 204.86.34.1
X-Original-NNTP-Posting-Host: 204.86.34.1
Message-ID: <43f0bbf4$1@forums-1-dub>
Date: 13 Feb 2006 09:03:48 -0800
X-Trace: forums-1-dub 1139850228 204.86.34.1 (13 Feb 2006 09:03:48 -0800)
X-Original-Trace: 13 Feb 2006 09:03:48 -0800, 204.86.34.1
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8781
Article PK: 735987

Tom,

Have you tried "ALIAS FOR" to substitute a more PB-friendly name?

>>
{ access } FUNCTION returndatatype name ( { { REF } datatype1 arg1,
..., { REF } datatypen argn } ) LIBRARY "libname"
ALIAS FOR "extname"
<<
--
Regards,
Millard [TeamSybase]

<Tom Nyorde> wrote in message news:43ecd153.73e3.1681692777@sybase.com...
> I have just migrated from PB. 8.0.4 TO PB 9.0.2. Build 7509
> I have a local external function
> FUNCTION uInt _MyGetFreeSystemResources32@4(uInt resource)
> LIBRARY "rsrc32.dll"
> that checks for system resources.
>
> This function works fine in PB 8 but I am having a compile
> error in PB 9.
>
> Apparently it doesn't like the @ sign in the function.
>
> I do have both the rsrc32.dll and rsrc16.dll files loaded.
>
> My environment is Windows 2000. Is there a way around this
> or how can I resolve this problem.
>
> I will appreciate any help.
>
> Thanks