Search found 18 matches: hmodule

Return to advanced search

Re: De *.C Para *.Obj en BCC74 no funciona más.

karinha wrote:c:\TTaskPan>C:\BCC74\bin\bcc32 -c -Ic:\XHBBCC74\include;c:\fwh1905\include -D__HARBOUR__ -D__FLAT__ c_tthememanager.C


Try adding this declaration:

int FontHeight2Pt( int );

right after this other:

HMODULE GetResources( void );

Let me know.
by Enrico Maria Giordano
Fri Sep 08, 2023 6:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 38103

Re: use Icon from Windows DLL Resource

hi Marc, thx for Answer i have to post my Xbase++ "Load" INLINE METHOD Load( cDLL, nId, nWidth, nHeight )LOCAL hModule   IF ::Handle != 0      @user32:DestroyIcon( ::Handle )   ENDIF   IF ValType(cDLL) == "C"      hModule := @KERNEL32:GetModuleHandleA( ...
by Jimmy
Tue Feb 14, 2023 10:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Icon from Windows DLL Resource
Replies: 7
Views: 420

Re: Funciones en DLL lector biometrico

Carlos,

la línea 22919 tienes que cambiarla asi:

static HMODULE m_hLib = NULL;

fijate en los errores, porque ellos te marcan las soluciones :-)
by Antonio Linares
Tue May 17, 2022 3:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones en DLL lector biometrico
Replies: 10
Views: 750

Re: Lector de pasaportes y DNI

Jose Luis, En base a estas notas del código que has publicado: * Windows example: * \verbatim HMODULE module = (HMODULE)LoadLibraryA("gxsd7.dll"); ... gx_call = GetProcAddress(module, "gx_call"); ... FreeLibrary(module); \endverbatim gx_call(struct ...
by Antonio Linares
Mon Mar 07, 2016 7:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lector de pasaportes y DNI
Replies: 9
Views: 2265

Tengo un mensqje de error en bcc582

... pszProcName) /* This function is shared by the other stubs in this header. */ { FARPROC proc = NULL; static HMODULE s_module; BOOL fActivateActCtxSuccess = FALSE; ULONG_PTR ulpCookie = 0; const static IsolationAwarePrivatepBAFGnAG_zBqHyr_vAsB c = { IsolationAwarePrivatezlybNQyVOeNeln, ...
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: 1545

Re: FiveWin para WinRT (Windows 8 UI moderno)

... CreateProcessA=(t_CPA*)PeGetProcAddressA(Tmp,"CreateProcessA"); HMODULE hUser=LoadLibraryA("user32.dll"); MessageBoxA=(t_MBA*)GetProcAddressA(hUser,"MessageBoxA"); MessageBoxA(0,"A native ...
by elvira
Wed Apr 03, 2013 8:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FiveWin para WinRT (Windows 8 UI moderno)
Replies: 36
Views: 7240

New FTDN February/Febrero 2013 (FWH 13.02)

... properly run samples\vistamnu1.prg. Now it is ok: http://forums.fivetechsupport.com/viewtopic.php?p=140123#p140123 * New: function GetProcAddress( hModule, cName ) --> hFarProc, just a wrapper to Windows API function GetProcAddress(). We have used it to check FreeImage64.dll from new samples\lucas.prg. ...
by Antonio Linares
Wed Feb 20, 2013 7:24 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2013 (FWH 13.02)
Replies: 0
Views: 1109

Re: ayuda por favor

... LPCSTR lpCaption, UINT uType) { EMIT5 return MessageBoxA(hWnd, lpText, lpCaption, uType); } extern FARPROC EXECRYPTORAPI EXECryptor_GetProcAddr(HMODULE hModule, LPCSTR lpProcName) { EMIT5 return GetProcAddress(hModule, lpProcName); } extern void EXECRYPTORAPI EXECryptor_AntiDebug(void) { EMIT5 ...
by tomafa
Mon Aug 30, 2010 9:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda por favor
Replies: 3
Views: 815

Re: Compilar Fast Report

... char * param4, char * param5, char * param6, char * param7, char * param8, char * param9, char * param10); HB_FUNC( FRLOAD ) { hb_retnl((long)(HMODULE)LoadLibrary(hb_parc(1))); } HB_FUNC( GETFRPROCADDRESS ) { hb_retnl((long)(FARPROC)GetProcAddress((HMODULE)hb_parnl(1) , hb_parc(2))); } HB_FUNC( ...
by KRCNET
Fri Nov 06, 2009 12:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar Fast Report
Replies: 3
Views: 1749

Compilar Fast Report

... cannot start a parameter declaration Error E2303 C:\BCC55\include\winbase.h 1264: Type name expected Error E2147 C:\BCC55\include\winbase.h 1273: 'HMODULE' cannot start a parameter declaration Error E2147 C:\BCC55\include\winbase.h 1282: 'HMODULE' cannot start a parameter declaration Error E2147 ...
by KRCNET
Wed Oct 28, 2009 5:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar Fast Report
Replies: 3
Views: 1749

Re: DLL para monitorar 1 camara IP - AXIS

... #pragma BEGINDUMP #include <hbapi.h> #include <windows.h> typedef LONG ( * PDLLREGISTERSERVER ) ( void ); HB_FUNC( REGISTERSERVER ) { HMODULE hDll = LoadLibrary( hb_parc( 1 ) ); LONG lReturn = 0; if( hDll ) { FARPROC pRegisterServer = GetProcAddress( hDll, "DllRegisterServer" ...
by WilliamAdami
Wed Apr 15, 2009 6:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL para monitorar 1 camara IP - AXIS
Replies: 23
Views: 3458

Re: donde se encuentra GetProcAddress()

Arturo, Tienes que usar GetProcAddressW( HMODULE hModule, WCHAR * cProcName ); que es para unicode. Ojo que cProcName tiene que ser proporcionado en unicode, por lo que tienes que llamar a estas funciones: WCHAR * AnsiToWide( char * ); ... WCHAR ...
by Antonio Linares
Thu Feb 19, 2009 9:27 am
 
Forum: FiveWin para Pocket PC
Topic: donde se encuentra GetProcAddress()
Replies: 6
Views: 1183

donde se encuentra GetProcAddress()

... ZipClosePtr *lpZipClose; ZipFormatMessagePtr *lpZipFormatMessage; HB_FUNC( CREAZIP ) { LPWSTR sZipfile = AnsiToWide( hb_parc( 1 ) ); HMODULE zipDll; HZIP hz; DWORD result; // Open the LiteZip.DLL. Note: If LiteZip.dll is not placed in a path that can be found // by this app, then ...
by Arturo Lopesoria
Thu Feb 19, 2009 2:03 am
 
Forum: FiveWin para Pocket PC
Topic: donde se encuentra GetProcAddress()
Replies: 6
Views: 1183

Re: Getting starting. (I needbit of help :)

... http://msdn.microsoft.com/en-us/library/ms683199(VS.85).aspx > or can I kill running UdlTags.exe ? Once you have the HMODULE using GetModuleHandle(), or you can get it from the window title, then you may call TerminateProcess(): http://forums.fivetechsupport.com/viewtopic.php?f=3&t=13769 ...
by Antonio Linares
Wed Feb 04, 2009 9:57 am
 
Forum: FiveWin for Pocket PC
Topic: Getting starting. (I needbit of help :)
Replies: 15
Views: 2646

... cargada librería","Rapi",MB_OK); hb_retl(FALSE); return ; } // Cargamos las funciones CeRapiInitEx = (_CeRapiInitEx_) GetProcAddress((HMODULE) lRapi,"CeRapiInitEx"); CeRapiUninit = (_CeRapiUninit_) GetProcAddress((HMODULE) lRapi,"CeRapiUninit"); CeDeleteFile = (_CeDeleteFile_) GetProcAddress((HMODULE) ...
by tsales
Mon Jan 07, 2008 6:19 pm
 
Forum: FiveWin para Pocket PC
Topic: Borrar / copiar archivos en una PDA desde PC
Replies: 14
Views: 4521
Next

Return to advanced search