Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - - 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.

powerbuilder 10.5 and base64

2 posts in PB Native Interface Last posting was on 2007-04-27 19:24:57.0Z
Peter Welling Posted on 2007-04-26 19:51:23.0Z
From: Peter Welling <>
User-Agent: Thunderbird (Windows/20070221)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.pbni
Subject: powerbuilder 10.5 and base64
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <463102bb$1@forums-1-dub>
Date: 26 Apr 2007 12:51:23 -0700
X-Trace: forums-1-dub 1177617083 (26 Apr 2007 12:51:23 -0700)
X-Original-Trace: 26 Apr 2007 12:51:23 -0700,
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.pbni:1820
Article PK: 738825

Does anybody know howto convert a string/file to base64 string ?

Best regards

Peter Welling
mobil: +45 4073 7677

Roland Smith Posted on 2007-04-27 19:24:57.0Z
From: "Roland Smith" <>
Newsgroups: sybase.public.powerbuilder.pbni
References: <463102bb$1@forums-1-dub>
Subject: Re: powerbuilder 10.5 and base64
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
Message-ID: <46324e09@forums-1-dub>
Date: 27 Apr 2007 12:24:57 -0700
X-Trace: forums-1-dub 1177701897 (27 Apr 2007 12:24:57 -0700)
X-Original-Trace: 27 Apr 2007 12:24:57 -0700,
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.pbni:1822
Article PK: 738826


The CryptBinaryToString API function converts to base64 and
CryptStringToBinary converts it back.

Go to my website and
download the Winsock example. It has of_encode64 and of_decode64 functions
in n_winsock.

These functions are not available in Windows 2000 or earlier.