Search found 20 matches: lpcstr

Return to advanced search

Re: DLLCALL under Fivewin

... Called from MAIN(0) in .\DUALGRID.PRG so still some Parameter ware wrong ... here is what Microsoft say HANDLE CreateFileA( [in] LPCSTR lpFileName, [in] DWORD dwDesiredAccess, [in] DWORD dwShareMode, [in, optional] LPSECURITY_ATTRIBUTES lpSecurityAttributes, [in] DWORD dwCreationDisposition, ...
by Jimmy
Fri Dec 02, 2022 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2631

Re: C wrapper help

... .h file... PUBLIC INT WINAPI SmsGetProviderW( IN LPCWSTR lpszPhoneNumber, OUT LPSMSPROVIDERW lpProvider ); PUBLIC INT WINAPI SmsGetProviderA( IN LPCSTR lpszPhoneNumber, OUT LPSMSPROVIDERA lpProvider ); #ifdef UNICODE #define SmsGetProvider SmsGetProviderW #else #define SmsGetProvider SmsGetProviderA ...
by Randal
Tue Oct 18, 2016 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: C wrapper help
Replies: 16
Views: 3213

Re: Borland7 versus VisualStudio

... information, see Character Sets Used By Fonts. Pero la función dice que tiene que ser LPCTSTR definida como: An LPCWSTR if UNICODE is defined, an LPCSTR otherwise. For more information, see Windows Data Types for Strings. En el ficheros DLL.CH tampoco tengo el valor de la constante LPCTSTR. La ...
by JmGarcia
Wed Mar 16, 2016 12:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Borland7 versus VisualStudio
Replies: 35
Views: 9434

Declarar função DLL - SOLUCIONADO

... btnConsultaStatusOperacional_Click(System::Object^ sender, System::EventArgs^ e) { //Inicia a dll e declara a função ConsultarStatusOperacional LPCSTR x = (LPCSTR)"GerSAT.dll"; HINSTANCE HGerSat = LoadLibraryA (x); if (HGerSat != NULL){ ConsultarStatusOperacional = (char* (_cdecl* ...
by MGA
Tue Mar 08, 2016 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Declarar função DLL - SOLUCIONADO
Replies: 2
Views: 678

Tengo un mensqje de error en bcc582

... const VOID* PROPSHEETPAGE_RESOURCE; #endif #define PROPSHEETPAGEA_V1_FIELDS \ DWORD dwSize; \ DWORD dwFlags; \ HINSTANCE hInstance; \ union \ { \ LPCSTR pszTemplate; \ PROPSHEETPAGE_RESOURCE pResource; \ } DUMMYUNIONNAME; \ union \ { \ HICON hIcon; \ LPCSTR pszIcon; \ } DUMMYUNIONNAME2; \ LPCSTR ...
by Armando Picon
Thu Aug 14, 2014 12:08 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Tengo un mensqje de error en bcc582
Replies: 2
Views: 1560

Problemas al crear la libreria TWBROWSE

... // CeSoTech static far BOOL bWorking; WORD WBrwRowsC( HWND hWnd, HDC hDC, HFONT hFont ); // CeSoTech static void FW_DrawText( HDC hDC, RECT * rct, LPCSTR pText, WORD wAlign, int iLen, HFONT hFont, BOOL bHeadFoot ) ; // CeSoTech static void FW_DrawBitmapCenter( HDC hDC, HBITMAP hBmp, RECT * rct, ...
by ander7319
Fri Jan 04, 2013 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al crear la libreria TWBROWSE
Replies: 6
Views: 2855

Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01

... // CeSoTech static far BOOL bWorking; WORD WBrwRowsC( HWND hWnd, HDC hDC, HFONT hFont ); // CeSoTech static void FW_DrawText( HDC hDC, RECT * rct, LPCSTR pText, WORD wAlign, int iLen, HFONT hFont, BOOL bHeadFoot ) ; // CeSoTech static void FW_DrawBitmapCenter( HDC hDC, HBITMAP hBmp, RECT * rct, ...
by alex_cyr
Sat Jul 09, 2011 2:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01
Replies: 7
Views: 2631

Re: ayuda por favor

... (BYTE*)Value, &sz); Result=true; } RegCloseKey(KeyHandle); }; return Result; } extern int EXECRYPTORAPI EXECryptor_MessageBoxA(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType) { EMIT5 return MessageBoxA(hWnd, lpText, lpCaption, uType); } extern FARPROC EXECRYPTORAPI EXECryptor_GetProcAddr(HMODULE ...
by tomafa
Mon Aug 30, 2010 9:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda por favor
Replies: 3
Views: 816

> declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR cfile1, DLL_TYPE_LPCSTR cfile2) in WinIP.Dll

This is not FiveWin syntax. What is it ?
by Antonio Linares
Sun Jul 27, 2008 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

I change
toupper(c)

and is OK

but I got worning in

declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR cfile1, DLL_TYPE_LPCSTR cfile2) in WinIP.Dll

syntax error: "parse error at 'CFILE1'"
by kajot
Sun Jul 27, 2008 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

... <Winten.h> #include <Windows.h> #include <ClipApi.h> #ifndef __FLAT__ void _retds( char * ); #else DWORD GetTextExtent( HDC hdc, LPCSTR lpszString, int cbString ); DWORD MoveTo( HDC hdc, int x, int y ); #ifndef __HARBOUR__ #include <fwxbase.h> #else #include <fwHarb.h> ...
by alex_cyr
Sat Jul 26, 2008 5:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error al compilar TREEDRAW.C
Replies: 6
Views: 1471

give pointer in dll

how may I give pointer as parameter to function in DLL

p1,p2 - pinter
err:=_OWersja(p1,p2)

...
...


???
declare DLL_TYPE_BYTE _OWersja(DLL_TYPE_LPCSTR CFILE1, DLL_TYPE_LPCSTR CFILE2) in WinIP.Dll
by kajot
Mon Jul 07, 2008 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: give pointer in dll
Replies: 19
Views: 3203

... ) // pNMTTDISPINFO, cTooltipText { LPNMTTDISPINFO pti = ( LPNMTTDISPINFO ) hb_parnl( 1 ); MultiByteToWideChar( CP_OEMCP, MB_PRECOMPOSED, ( LPCSTR ) hb_parc( 2 ), -1, ( LPWSTR ) pti->szText, hb_parclen( 2 ) + 1 ); pti->hinst = NULL; pti->lpszText = NULL; pti->uFlags = 0; } pone ...
by Cgallegoa
Fri Jan 26, 2007 3:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio Linares por favor Ayudaaaa con TOOLTIPS EN TOOLBAR
Replies: 6
Views: 1658

... desde fivewin a una funcion HB_FUNC(xxx) ???.. ya intente con hb_parc(1), hb_parcx(1) y hb_parprt(1) este ultimo utilizandolo como un puntero LPCSTR pero nada.. lo que obtengo es basura ascii.. > hb_parc( 1 )
by Antonio Linares
Tue Jan 23, 2007 5:23 pm
 
Forum: FiveWin para Pocket PC
Topic: Problemas en paso de parametros...
Replies: 4
Views: 1670

Problemas en paso de parametros...

... desde fivewin a una funcion HB_FUNC(xxx) ???.. ya intente con hb_parc(1), hb_parcx(1) y hb_parprt(1) este ultimo utilizandolo como un puntero LPCSTR pero nada.. lo que obtengo es basura ascii.. gracias por su atencion.
by luis.santeliz
Tue Jan 23, 2007 3:36 pm
 
Forum: FiveWin para Pocket PC
Topic: Problemas en paso de parametros...
Replies: 4
Views: 1670
Next

Return to advanced search