Search found 167 matches: ansitowide

Return to advanced search

Re: Calculate total pages

Yes, true. But the text we print is stored in wide format. If we printed "Name", it is stored as AnsiToWide( "Name" ), i.e., "N" + Chr(0) + "a" + Chr(0) + "m" + Chr( 0 ) + "e" + Chr( 0 ). In other words the text is ...
by nageswaragunupudi
Mon Nov 27, 2023 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5507

Re: Listview Unicode for CLASS TGrid()

Question : is fw_parWide() the same as AnsiToWide() :?: No. if the parameter is UTF8 it uses "MultiByteToWideChar()", Windows API function and if not, then it is ANSI and uses AnsiToWide() See: https://learn.microsoft.com/en-us/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar ...
by nageswaragunupudi
Wed Aug 30, 2023 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 381

Listview Unicode for CLASS TGrid()

... LPWSTR pWide = fw_parWide( 3 );//   lvi.pszText  = ( LPTSTR ) hb_parc( 3 );   lvi.pszText  = pWide; Question : is fw_parWide() the same as AnsiToWide() :?: --- i have now include #define UNICODE    // Made Unicode compatible 2023-07-07#include <CommCtrl.h>#undef UNICODE#include "fwh.h" ...
by Jimmy
Wed Aug 30, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 381

Re: WC_LISTVIEW / "SysListView32" -> Unicode ?

hi Antonio,
try with AnsiToWide( "SysListView32" )

i have try it, in CH and PRG. and got
Error description: Error FiveWin/6 Cannot create window or control:
Class: TGRID
Caption:
System Error: Fensterklasse wurde nicht gefunden.
by Jimmy
Sun Jan 15, 2023 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WC_LISTVIEW / "SysListView32" -> Unicode ?
Replies: 7
Views: 485

Re: WC_LISTVIEW / "SysListView32" -> Unicode ?

Jimmy,

Try with AnsiToWide( "SysListView32" )
by Antonio Linares
Sun Jan 15, 2023 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WC_LISTVIEW / "SysListView32" -> Unicode ?
Replies: 7
Views: 485

Re: CLASS TGrid() for FiveWin

hi Antonio, At the top of your C code place this line: LPWSTR AnsiToWide( LPSTR cAnsi ); thx for Answer. still got Warning Warning W8075 .\\HB_FUNC.PRG 1092: Suspicious pointer conversion in function HB_FUN_SETGRIDQUERYDATA but i have to use #define UNICODE ...
by Jimmy
Wed Jan 04, 2023 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 3348

Re: CLASS TGrid() for FiveWin

Dear Jimmy,

At the top of your C code place this line:

LPWSTR AnsiToWide( LPSTR cAnsi );
by Antonio Linares
Wed Jan 04, 2023 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 3348

Re: CLASS TGrid() for FiveWin

... which are for Unicode / ANSI it does compile for ANSI without Warning but for Unicode i got Warning W8065 .\\HB_FUNC.PRG 1090: Call to function 'AnsiToWide' with no prototype in function HB_FUN_SETGRIDQUERYDATA Warning W8069 .\\HB_FUNC.PRG 1090: Nonportable pointer conversion in function HB_FUN_SETGRIDQUERYDATA ...
by Jimmy
Wed Jan 04, 2023 1:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 3348

Re: De xHarbour a Harbour

... Error: Unresolved external '_HB_FUN_GDIPLUSEMFTOJPG' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|PRV2PDF Error: Unresolved external '_HB_FUN_ANSITOWIDE' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|PRV2PDF Error: Unresolved external '_HB_FUN_TTOS' referenced from C:\XBASE\HARBOUR32\LIB\FIVEH.LIB|PRV2PDF ...
by JoseAlvarez
Mon Oct 04, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De xHarbour a Harbour
Replies: 35
Views: 3157

Re: nuevo en el fw Harbour

1) copie el two.prg que esta dentro del gccmake.prg a la carpeta bormake porque no lo trae (y en el test.mak hace referecia a two.c y two.obj), cambie las rutas e incluso las rutas dentro de los archivos CFG de borland. y al compilar con go.bat (que tambien cambie la ruta del make) me tira este erro...
by goosfancito
Wed Feb 03, 2021 1:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: nuevo en el fw Harbour
Replies: 5
Views: 607

Re: Compilando con Harbour 3.2, Bcc7 y Hbmk2

Armando estás intentando linkar las librerias de Fivewin para el compilador MinGw en lugar de utilizar las de Borland Es cierto. Estaba apuntando a las librerias para Mingw de Fwh, a pesar que todas las variables de entorno apuntaban a Harbour y Bcc7. Ya corregí; pero el arreglo ha resultado peor q...
by Armando Picon
Sun Jan 26, 2020 12:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilando con Harbour 3.2, Bcc7 y Hbmk2
Replies: 13
Views: 3081

Re: buildH.BAT more than 1 PRG ?

... OCCURS(), LOG10(), FLOOR(), CHARONLY(), NTOCMONTH(), BEFORATNUM(), HHASKEY(), ADDMONTH(), EOM(), TIMETOSEC(), OS_ISWTSCLIENT(), NUMAT(), ANSITOWIDE(), AFTERATNUM(), EXENAME(), TXMLDOCUMENT(), HSETCASEMATCH(), GETACTIVEOBJECT(), CREATEOBJECT(), HB_GETFILESINZIP(), HB_UNZIPOPEN(), HB_UNZIPFILEFIRST(), ...
by Jimmy
Sat Dec 21, 2019 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: buildH.BAT more than 1 PRG ?
Replies: 4
Views: 869

Re: Help with PDF in FWH-19.09 please.

Rao, Cristobal, Thank you for your interest. Already solved. Incompatibility in xHarbour's AnsiToWide function: In PRV2PDF, the Emf2Jpeg () function is invoked, which in turn calls GDIPLUSEMFTOJPG as follows: GDIPLUSEMFTOJPG (cBuf, Len (cBuf), AnsiToWide ...
by Cgallegoa
Wed Dec 04, 2019 10:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with PDF in FWH-19.09 please. - SOLVED
Replies: 3
Views: 964

Re: Problema con PDF en FWH-19.09 - Mi GATO lo solucionó !!!

Willi, gracias por tu interés. Ya lo solucioné. Incompatibilidad en la function AnsiToWide de xXarbour: En PRV2PDF se invoca la función Emf2Jpeg() la cual a su vez hace un llamado a GDIPLUSEMFTOJPG de la siguiente manera: GDIPLUSEMFTOJPG( cBuf, Len( cBuf ...
by Cgallegoa
Wed Dec 04, 2019 10:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con PDF en FWH-19.09 - Mi GATO lo solucionó !!!
Replies: 4
Views: 845

Re: Do you know how to use iconv.dll?

... We have resolved the following. Thank you. However, I would appreciate it if you support it in iconv.dll FWH. cStr: = cStr + "#" CSTR = AnsiToWide (CSTR) CSTR = HB_TRANSLATE (CSTR "UTF16LE", "UTF8") nPos: = at ("#", cStr) Return SubStr (cStr, 1, nPos-1)
by kkwan
Tue May 08, 2018 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Do you know how to use iconv.dll?
Replies: 3
Views: 729
Next

Return to advanced search