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.

Support in PB 11.2 for Crusher! Data Compression Toolkit DLL (32-bit)

3 posts in Objects Last posting was on 2010-01-22 20:50:54.0Z
Mahabeer Posted on 2010-01-21 19:58:09.0Z
Sender: 8a8.4b58b060.1804289383@sybase.com
From: Mahabeer
Newsgroups: sybase.public.powerbuilder.objects
Subject: Support in PB 11.2 for Crusher! Data Compression Toolkit DLL (32-bit)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b58b1d1.8c5.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-=_forums-1-dub4b58b1d1"
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Jan 2010 11:58:09 -0800
X-Trace: forums-1-dub 1264103889 10.22.241.41 (21 Jan 2010 11:58:09 -0800)
X-Original-Trace: 21 Jan 2010 11:58:09 -0800, 10.22.241.41
Lines: 13368
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9961
Article PK: 737102

Hi,

We have recently mirated from PB 6.5 to PB 11.2 Our
applicaton
uses Crush32.dll from "DC Micro Development" for compressing
data before emailing it to users. We had a function
uf_open_archive which executes "cxOpenArchive(ps_FileName,
pi_nMode)" (in DLL) which actually creats empty archive
files
(CX00001.$$$ & ########.psw). After migration to PB 11.2
this
function is not creating these archive files due to which
the
users are not able to send the required data in an email.
Not
sure why this part of the function is not working and there
is
no error code returned, the error cod is "0".

Please advice how we can resolve this issue. I have attached
the Crush32.dll & psmail.pbl.

Thanks,
Mahabeer


Brad Wery[TeamSybase] Posted on 2010-01-21 20:06:50.0Z
From: "Brad Wery[TeamSybase]" <bradweryatgmail.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Support in PB 11.2 for Crusher! Data Compression Toolkit DLL (32-bit)
References: <4b58b1d1.8c5.1681692777@sybase.com>
In-Reply-To: <4b58b1d1.8c5.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b58b3da@forums-1-dub>
Date: 21 Jan 2010 12:06:50 -0800
X-Trace: forums-1-dub 1264104410 10.22.241.152 (21 Jan 2010 12:06:50 -0800)
X-Original-Trace: 21 Jan 2010 12:06:50 -0800, vip152.sybase.com
Lines: 49
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9962
Article PK: 737090

This most likely is a result of PB11.2 being UNICODE. Add the ansi alias
to your external function declaration.

cxOpenArchive(...) Crush32.dll ALIAS FOR "cxOpenArchive;ANSI"

Hope that does it.

Mahabeer wrote:
> Hi,
>
> We have recently mirated from PB 6.5 to PB 11.2 Our
> applicaton
> uses Crush32.dll from "DC Micro Development" for compressing
> data before emailing it to users. We had a function
> uf_open_archive which executes "cxOpenArchive(ps_FileName,
> pi_nMode)" (in DLL) which actually creats empty archive
> files
> (CX00001.$$$ & ########.psw). After migration to PB 11.2
> this
> function is not creating these archive files due to which
> the
> users are not able to send the required data in an email.
> Not
> sure why this part of the function is not working and there
> is
> no error code returned, the error cod is "0".
>
> Please advice how we can resolve this issue. I have attached
> the Crush32.dll & psmail.pbl.
>
> Thanks,
> Mahabeer

--

*********************************************************************************************************
www.PowerToTheBuilder.com
- Take control of your GUI with a free PB user control library
- Get updates from my blog - blog.PowerToTheBuilder.com
- Get support from - forum.PowerToTheBuilder.com

*********************************************************************************************************
www.Werysoft.com
- Full featured database development tool for ASE, SQL Server, SQL
Anywhere and Oracle

Get productive today!

*********************************************************************************************************


Mahabeer Posted on 2010-01-22 20:50:54.0Z
Sender: 8a8.4b58b060.1804289383@sybase.com
From: Mahabeer
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Support in PB 11.2 for Crusher! Data Compression Toolkit DLL (32-bit)
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b5a0fae.21e2.1681692777@sybase.com>
References: <4b58b3da@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 22 Jan 2010 12:50:54 -0800
X-Trace: forums-1-dub 1264193454 10.22.241.41 (22 Jan 2010 12:50:54 -0800)
X-Original-Trace: 22 Jan 2010 12:50:54 -0800, 10.22.241.41
Lines: 60
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9963
Article PK: 737096

Brad,

Thanks. It worked.

Mahabeer

> This most likely is a result of PB11.2 being UNICODE. Add
> the ansi alias to your external function declaration.
>
> cxOpenArchive(...) Crush32.dll ALIAS FOR "cxOpenArchive
> ;ANSI"
>
> Hope that does it.
>
> Mahabeer wrote:
> > Hi,
> >
> > We have recently mirated from PB 6.5 to PB 11.2 Our
> > applicaton
> > uses Crush32.dll from "DC Micro Development" for
> > compressing data before emailing it to users. We had a
> > function uf_open_archive which executes
> > "cxOpenArchive(ps_FileName, pi_nMode)" (in DLL) which
> > actually creats empty archive files
> > (CX00001.$$$ & ########.psw). After migration to PB 11.2
> > this
> > function is not creating these archive files due to
> > which the
> > users are not able to send the required data in an
> > email. Not
> > sure why this part of the function is not working and
> > there is
> > no error code returned, the error cod is "0".
> >
> > Please advice how we can resolve this issue. I have
> > attached the Crush32.dll & psmail.pbl.
> >
> > Thanks,
> > Mahabeer
>
> --
>
> **********************************************************
> ***********************************************
> www.PowerToTheBuilder.com
> - Take control of your GUI with a free PB user control
> library
> - Get updates from my blog - blog.PowerToTheBuilder.com
> - Get support from - forum.PowerToTheBuilder.com
>
> **********************************************************
> ***********************************************
> www.Werysoft.com
> - Full featured database development tool for ASE, SQL
> Server, SQL Anywhere and Oracle
>
> Get productive today!
>
> **********************************************************
> ***********************************************