Search found 36 matches: lpwstr

Return to advanced search

Re: Listview Unicode for CLASS TGrid()

i guess it is while i have not use fw_parWide() / LPWSTR but LPTSTR

Yes.
If you like we can make the modifications.
by nageswaragunupudi
Wed Aug 30, 2023 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 409

Listview Unicode for CLASS TGrid()

hi, i have found in c:\fwh\source\winapi\listview.c what was change for Unicode   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 ...
by Jimmy
Wed Aug 30, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 409

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 ...
by Jimmy
Wed Jan 04, 2023 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 3452

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: 3452

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

... create a jpeg file. for some reason the file created by DDIPLUSEMFTOJPG contains a file extension of JPEG followed by Chinese-looking characters. LPWSTR filefin = ( LPWSTR ) hb_parc( 3 ); CLSID cClsid ; CLSIDFromString( L"{557CF401-1A04-11D3-9A73-0000F81EF32E}" , &cClsid ) ; newImage->Save( ...
by mastintin
Sat Feb 04, 2017 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 6146

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

... create a jpeg file. for some reason the file created by DDIPLUSEMFTOJPG contains a file extension of JPEG followed by Chinese-looking characters. LPWSTR filefin = ( LPWSTR ) hb_parc( 3 ); CLSID cClsid ; CLSIDFromString( L"{557CF401-1A04-11D3-9A73-0000F81EF32E}" , &cClsid ) ; newImage->Save( ...
by nageswaragunupudi
Fri Feb 03, 2017 6:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 6146

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

... create a jpeg file. for some reason the file created by DDIPLUSEMFTOJPG contains a file extension of JPEG followed by Chinese-looking characters. LPWSTR filefin = ( LPWSTR ) hb_parc( 3 ); CLSID cClsid ; CLSIDFromString( L"{557CF401-1A04-11D3-9A73-0000F81EF32E}" , &cClsid ) ; newImage->Save( ...
by don lowenstein
Fri Feb 03, 2017 5:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 6146

Re: GPF en FWPPC 2015 (Solucionado)

Porque no llamamos a GetCurrentDirectory() en modo unicode

LPWSTR es un puntero a una cadena unicode

LPSTR es un puntero a una cadena tradicional
by Antonio Linares
Wed Dec 02, 2015 7:06 pm
 
Forum: FiveWin para Pocket PC
Topic: GPF en FWPPC 2015 (Solucionado)
Replies: 7
Views: 2246

Re: GPF en FWPPC 2015 (Solucionado)

Antonio,

En la definición de la función ponía LPWSTR buffer

¿Por qué lo has cambiado por LPSTR ?


Por curiosidad.
by jmartial
Wed Dec 02, 2015 12:17 pm
 
Forum: FiveWin para Pocket PC
Topic: GPF en FWPPC 2015 (Solucionado)
Replies: 7
Views: 2246

Re: To save an image

... asitowide in your code ... is not necessary ansitowide functions std::string str = hb_parc(2) ; std::wstring wstr (str.begin(), str.end()); LPWSTR file = (LPWSTR) wstr.c_str(); :D
by mastintin
Fri Oct 23, 2015 12:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To save an image
Replies: 52
Views: 7781

Re: DLL

Kok,

I forgot to include this declaration at the header:

LPSTR WideToAnsi( LPWSTR );
by Antonio Linares
Thu May 24, 2012 6:43 pm
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97839

Re: DLL

#pragma BEGINDUMP #include <windows.h> #include <hbapi.h> LONG GetReaderInfo( LPWSTR ,LPWSTR ,LPWSTR ,LPWSTR ,LPWSTR ) ; LPWSTR AnsiToWide( LPSTR ); HB_FUNC( GETREADERINFO ) { LPWSTR ComAdr = AnsiToWide( (char *) hb_parc( 1 ) ); LPWSTR VersionInfo = AnsiToWide( ...
by Antonio Linares
Thu May 24, 2012 2:55 pm
 
Forum: FiveWin for Pocket PC
Topic: DLL
Replies: 59
Views: 97839

Re: Test for a .Pdf reader

... ) hb_parnl( 1 ); HKEY hResult; #ifndef UNICODE hb_retnl( RegOpenKey( hKey, hb_parc( 2 ), &hResult ) ); hb_stornl( ( LONG ) hResult, 3 ); #else LPWSTR pW = AnsiToWide( hb_parc( 2 ) ); hb_retnl( RegOpenKeyEx( hKey, pW, 0, ( REGSAM ) hb_parnl( 3 ), &hResult ) ); hb_stornl( ( LONG ) hResult, ...
by ADutheil
Fri Nov 11, 2011 11:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test for a .Pdf reader
Replies: 11
Views: 3324

Re: Ayuda Por Favor

... hInternet ) RETURN NIL #pragma BEGINDUMP #include "windows.h" #include "wininet.h" #include "hbapi.h" LPWSTR AnsiToWide( LPSTR ); HB_FUNC( INTERNETOPEN ) { LPWSTR cAgent = AnsiToWide( hb_parc( 1 ) ); LPWSTR cProxyName = AnsiToWide( hb_parc( 3 ) ); LPWSTR ...
by Julio Perez
Thu Jan 28, 2010 3:33 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda Por Favor
Replies: 6
Views: 1634

Re: High contrast screen for non blind user - Antonio ?

... UInteger      Public dwFlags As UInteger      <System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPWStr)> _      Public lpszDefaultScheme As String End Structure <System.Runtime.InteropServices.DllImportAttribute("user32.dll", EntryPoint:="SystemParametersInfoW")> ...
by anserkk
Thu Sep 17, 2009 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: High contrast screen for non blind user - Antonio ?
Replies: 9
Views: 2709
Next

Return to advanced search