Search found 22 matches: lptstr

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

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 #define UNICODE    // Made ...
by Jimmy
Wed Aug 30, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 670

Re: Everything under Fivewin

... error information, call Everything_GetLastError Everything_GetResultFullPathNameW() Syntax DWORD Everything_GetResultFullPathName( DWORD index, LPTSTR lpString, DWORD nMaxCount); Parameters index Zero based index of the visible result. lpString [out] Pointer to the buffer that will receive the ...
by Jimmy
Mon Nov 14, 2022 11:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Everything under Fivewin
Replies: 17
Views: 1855

Re: Funciones C en Harbour

Syntax void Animate_Open( hwnd, szName); Parameters hwnd Type: HWND A handle to the animation control. szName Type: LPTSTR A pointer to a buffer that contains the path of the AVI file or the name of an AVI resource. Alternatively, this parameter can consist of the AVI resource identifier ...
by carlos vargas
Mon Feb 08, 2021 9:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 2233

Re: convert C to fivewin

... it's better here the new code: #pragma BEGINDUMP #include <windows.h> #include <hbapi.h> static DWORD dwSysError; DWORD CEFGetVersion(LPTSTR lpVer, LPDWORD lpdwSysError); DWORD CEFRead(unsigned char *lpMemArea, LPDWORD pdwByteRead, LPDWORD lpdwSysError); DWORD CEFWrite(unsigned char ...
by vensanto
Thu May 25, 2017 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: convert C to fivewin
Replies: 14
Views: 2750

Re: convert C to fivewin

... without -a now it's ok here the code: thanks to all === #pragma BEGINDUMP #include <windows.h> #include <hbapi.h> DWORD CEFGetVersion(LPTSTR lpVer, LPDWORD lpdwSysError); DWORD CEFRead(unsigned char *lpMemArea, LPDWORD pdwByteRead, LPDWORD lpdwSysError); DWORD CEFWrite(unsigned char ...
by vensanto
Wed May 24, 2017 6:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: convert C to fivewin
Replies: 14
Views: 2750

convert C to fivewin

... CEFOpen (int intCom, DWORD dwBaudRate, BYTE byParity, BYTE byDataBit, BYTE byStopBit, BYTE byFlowControl, LPDWORD lpdwSysError) DWORD CEFOpenEth (LPTSTR strIp, DWORD dwPort, LPDWORD lpdwSysError) DWORD CEFOpenUSB (LPTSTR strPrinterName, LPDWORD lpdwSysError) DWORD CEFWrite (unsigned char *lpCommand, ...
by vensanto
Mon May 22, 2017 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: convert C to fivewin
Replies: 14
Views: 2750

Re: Como verificar que el programa esta en ejecución

... 0, hb_parc( 1 ) ) ); } HB_FUNC( ISEXERUNNING ) // ( cExeNameCaseSensitive ) --> lResult { HANDLE hMutex = CreateMutex( NULL, TRUE, ( LPTSTR ) hb_parc(1) ); hb_retl( GetLastError() == ERROR_ALREADY_EXISTS ); ReleaseMutex( hMutex ); } #pragma ENDDUMP
by postinelli
Mon Jan 05, 2015 4:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como verificar que el programa esta en ejecución
Replies: 14
Views: 2943

Re: Bug harbour_3.2_32bits_MSVC2013_20142906

Creo que aqui está la clave: dwTypeData Type: LPTSTR The contents of the menu item. The meaning of this member depends on the value of fType and is used only if the MIIM_TYPE flag is set in the fMask member. To retrieve a menu item of type MFT_STRING, ...
by Antonio Linares
Tue Jul 01, 2014 7:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bug harbour_3.2_32bits_MSVC2013_20142906
Replies: 42
Views: 9313

ISEXERUNNING - CaseSensitive

... in advance and best regards, Otto HB_FUNC( ISEXERUNNING ) // ( cExeNameCaseSensitive ) --> lResult { HANDLE hMutex = CreateMutex( NULL, TRUE, ( LPTSTR ) hb_parc( 1 ) ); hb_retl( GetLastError() == ERROR_ALREADY_EXISTS ); ReleaseMutex( hMutex ); }
by Otto
Sat Jan 11, 2014 9:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ISEXERUNNING - CaseSensitive
Replies: 2
Views: 701

winscard.lib smartcard

... i write this function and work fine but i need the function for read and write thanks HB_FUNC( PCSC_NAME ) { LONG rv; SCARDCONTEXT hContext; LPTSTR mszReaders; SCARDHANDLE hCard; DWORD dwReaders, dwActiveProtocol, dwRecvLength; rv = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, &hContext); ...
by vensanto
Sun Oct 07, 2012 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: winscard.lib smartcard
Replies: 1
Views: 632

GET STATUS WIFI

... struct RDD { RDD() : pszDeviceName(NULL), pNext(NULL), pszDisplayName(NULL) {} ~RDD() { LocalFree(pszDeviceName); LocalFree(pszDisplayName); } LPTSTR pszDeviceName; // Device name for registry setting. LPTSTR pszDisplayName; // Name to show the world DWORD dwState; // ON/off/[Discoverable for ...
by Silvio
Wed Sep 02, 2009 10:47 am
 
Forum: FiveWin for Pocket PC
Topic: GET STATUS WIFI
Replies: 0
Views: 573

Re: Soporte de MySQL para FWPPC !!!

... ;   hb_retnl(ConnectDB( TEXT( "\\My Documents\\test.sdf" ) ) ) ; // asi devuelve S_OK  //hb_retnl( ConnectDB( (LPTSTR) hb_parc(1) ) );  //hb_retnl( ConnectDB( pW ) );  //hb_xfree( pW );}   HB_FUNC( COINITIALIZEEX ){       hb_retnl( CoInitializeEx( ...
by Salvador
Fri Jun 05, 2009 2:53 pm
 
Forum: FiveWin para Pocket PC
Topic: Soporte de MySQL para FWPPC !!!
Replies: 7
Views: 6209

Re: cGetFile() and Multiple file selection

... user's selection in this structure. Syntax typedef struct tagOFN { DWORD lStructSize; HWND hwndOwner; HINSTANCE hInstance; LPCTSTR lpstrFilter; LPTSTR lpstrCustomFilter; DWORD nMaxCustFilter; DWORD nFilterIndex; LPTSTR lpstrFile; DWORD nMaxFile; LPTSTR lpstrFileTitle; DWORD nMaxFileTitle; LPCTSTR ...
by StefanHaupt
Thu Apr 30, 2009 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile() and Multiple file selection
Replies: 22
Views: 7600

Como adiciono esta funcion a mi ejecutable

... #include <windows.h> CLIPPER ISEXERUNNING( PARAMS ) // ( cExeNameCaseSensitive ) --> lResult { HANDLE hMutex = CreateMutex( NULL, TRUE, ( LPTSTR ) _parc( 1 ) ); _retl( GetLastError() == ERROR_ALREADY_EXISTS ); ReleaseMutex( hMutex ); } #pragma ENDDUMP hago esto pero no lo reconoce
by Vladimir Zorrilla
Thu Nov 27, 2008 9:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como adiciono esta funcion a mi ejecutable
Replies: 1
Views: 507
Next

Return to advanced search