On Tue, 21 Oct 2008, Miguel Angel Marchuet wrote:
Hi Miguel,
2008-10-21 13:17 UTC+0100 Miguel Angel Marchuet [EMAIL PROTECTED]
* contrib/xhb/hbcompat.h
+ added compatibilities.
Thank you for modifications but this one:
#define hb_retclenAdoptRaw( szText, ulLen ) hb_retclen_buffer(
Hi folks,
I wanted to note something similar, as I remember
converting xhb code to Harbour, and these weren't
exactly equivalent.
Brgds,
Viktor
On 2008.10.21., at 13:45, Przemyslaw Czerpak wrote:
On Tue, 21 Oct 2008, Miguel Angel Marchuet wrote:
Hi Miguel,
2008-10-21 13:17 UTC+0100 Miguel
Is possible, what do you thing about this function.
Can i use hb_retclenAdopt instead of hb_retclenAdoptRaw in this case ?
or is necessary ?
HB_FUNC( UTF8TOWIDE ) // ( cAnsiStr ) - cWideStr
{
char *cString = hb_parc( 1 );
if( cString )
{
BSTR wString = hb_oleUTF8ToWide(
On Tue, 21 Oct 2008, Miguel Angel Marchuet wrote:
Hi Miguel,
Is possible, what do you thing about this function.
Can i use hb_retclenAdopt instead of hb_retclenAdoptRaw in this case ?
or is necessary ?
You have to and in this case you should 1-st fix the conversion code
or it may cause
Many thks for you help.
I like too upload this function and other similars to harbour's cvs
Where do you think is the best site to upload it ?
Best regards,
Miguel Angel Marchuet
Przemyslaw Czerpak escribió:
On Tue, 21 Oct 2008, Miguel Angel Marchuet wrote:
Hi Miguel,
Is
Hi Miguel,
contrib/hbwin
Note that there are already almost exactly the same
functions (except the encoding setting) for ANSI/WIDE
conversion in win_ole.c. You may want to take a look
at them.
Maybe the best would be to have all these Win text
conversions gathered in one .c file.
Brgds,