Search found 65 matches: hinstance

Return to advanced search

Migranting xHarbour for Harbour

Olá, How to solve this ? i'm compiling with harbour 3.2.0, before i used xharbour 1.2.3 Lines 7320, Functions/Procedures 18 Generating C source output to '\tmp\obj901\GER.c'... Done. bcc32 -M -c -I\harbour\INCLUDE;\BCC74\INCLUDE -tW -o\tmp\obj901\GER.obj \tmp\obj901\GER.c Embarcadero C++ 7.40 for Wi...
by Ari
Thu Aug 25, 2022 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migranting xHarbour for Harbour
Replies: 18
Views: 959

Re: cGetFile32() about traditional Chinese characters

CGETDIR.OBJ Linking Error Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '___CPPdebugHook' referenced from C:\BCC582\LIB\CW32.LIB|xx Error: Unresolved external '__hInstance' referenced from C:\BCC582\LIB\CW32.LIB|_fastmm Error: Unresolv...
by ssbbs
Fri Dec 03, 2021 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile32() about traditional Chinese characters
Replies: 11
Views: 836

Re: cGetFile32() about traditional Chinese characters

CGETDIR.OBJ Linking Error Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '___CPPdebugHook' referenced from C:\BCC582\LIB\CW32.LIB|xx Error: Unresolved external '__hInstance' referenced from C:\BCC582\LIB\CW32.LIB|_fastmm Error: Unresolve...
by alfredlam
Fri Dec 03, 2021 4:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile32() about traditional Chinese characters
Replies: 11
Views: 836

Re: problem with fw_adoexporttodbf function

Hello I'm facing the same issue when I'm trying to attach a .C file to my project echo ..\..\bcc710\lib\psdk\iphlpapi.lib + >> b32.bc echo ..\..\bcc710\lib\psdk\shell32.lib, >> b32.bc IF EXIST demo.res echo demo.res >> b32.bc ..\..\bcc710\bin\ilink32 -Gn -aa -Tpe -s @b32.bc Turbo I...
by Compuin
Mon Dec 02, 2019 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with fw_adoexporttodbf function
Replies: 17
Views: 2543

Re: problem with fw_adoexporttodbf function

Linking adofuncs.obj to my project now i receive these errors linking: c:\myproject> if gtgui == gtgui c:\bcc7\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc. Error: Unresolved external '___CPPdebugHook' referenced from C:\...
by max
Tue May 14, 2019 6:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem with fw_adoexporttodbf function
Replies: 17
Views: 2543

Re: access to window via its :hwnd

... #pragma BEGINDUMP #include <windows.h> #include <hbvm.h> #include <hbapiitm.h> BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { HB_SYMBOL_UNUSED( hinstDLL ); HB_SYMBOL_UNUSED( fdwReason ); HB_SYMBOL_UNUSED( lpvReserved ...
by don lowenstein
Sat Jan 06, 2018 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to window via its :hwnd
Replies: 10
Views: 1789

Re: create a harbour dll containing functions to be executed

... 0 ); hb_itemRelease( pItem ); } else MessageBox( 0, "inside the DLL", "DOPROC", 0 ); return 0; } BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { HB_SYMBOL_UNUSED( hinstDLL ); HB_SYMBOL_UNUSED( fdwReason ); HB_SYMBOL_UNUSED( lpvReserved ...
by rkurian
Thu Sep 08, 2016 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4256

Re: create a harbour dll containing functions to be executed

... referenced from C:\FWH7\LIB\FIVEH.LIB|MENUITEM . . and many other ************ I inserted in MYDLL.PRG the: BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { HB_SYMBOL_UNUSED( hinstDLL ); HB_SYMBOL_UNUSED( fdwReason ); HB_SYMBOL_UNUSED( lpvReserved ...
by Romeo
Wed Sep 07, 2016 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4256

Re: Declarar função DLL

resolvido! :) #pragma BEGINDUMP #include <windows.h> #include "hbapi.h" #include "hbapierr.h" static HINSTANCE handleLeitura; HB_FUNC(LOADDLLFISCNET){ handleLeitura = LoadLibrary( "GERSAT.dll" ); } HB_FUNC(FREEDLLFISCNET){ FreeLibrary( handleLeitura ...
by MGA
Tue Mar 08, 2016 7:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Declarar função DLL - SOLUCIONADO
Replies: 2
Views: 678

Declarar função DLL - SOLUCIONADO

... 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* )(int numeroSessao, char* codigoDeAtivacao)) ...
by MGA
Tue Mar 08, 2016 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Declarar função DLL - SOLUCIONADO
Replies: 2
Views: 678

Re: How to obtain return value of a called exe?

Returns hInstance when __FLAT__ is not defined. FWH is compiled with __FLAT__ defined. The function should return ExitCode         hb_retnl( dwExitCode );  Mr Antonio can explain better. So I just ...
by nageswaragunupudi
Tue Jun 30, 2015 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain return value of a called exe?
Replies: 7
Views: 1043

Re: How to obtain return value of a called exe?

Thanks for the reply Rao. I didn't manage to get it too and when I check the documentation it says waitrun() returns hInstance. So I just wrote a workaround by having exe B dumped the return value in a file for exe A to read. It serve the purpose but not as neat as having exe A reading ...
by hua
Tue Jun 30, 2015 4:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain return value of a called exe?
Replies: 7
Views: 1043

Problem compiling testtool.prg

... #include <c:\fwh\include\ClipApi.h> #ifndef __FLAT__ #include <c:\fwh\include\ToolHelp.h> #define PCLIPVAR void * #endif extern HINSTANCE GetInstance( void ); static void far PASCAL _export IntCallBack( void ); static far FARPROC lpfnCallBack = 0; #ifndef __FLAT__ static far ...
by Massimo Linossi
Fri Sep 19, 2014 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem compiling testtool.prg
Replies: 0
Views: 504

Tengo un mensqje de error en bcc582

... #else typedef 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; ...
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

Re: Building FWH

... // Conection with Borland's VBX DLL - at run-time !!! DLL STATIC FUNCTION VbxInitDialog( hWnd AS WORD, hInstance AS WORD,; cResName AS STRING ) AS BOOL PASCAL LIB "BIVBX10.DLL" DLL STATIC FUNCTION VbxInit( hInstance AS WORD, cPrefix AS STRING ...
by rhlawek
Fri Jul 26, 2013 8:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Building FWH
Replies: 11
Views: 3901
Next

Return to advanced search