Hello , I've downloaded from GitHub mod_harbour ( with all sources ) and compiled it ( lib and module ) under Linux ( Ubuntu 20.04 ) . It seems not working correctly when running a simple prg because apache.prg probably has an error in this code: if Empty( GetEnv( "GATEWAY_INTERFACE" ) ) Q...
I will test point by point and answer one by one. b. GetModulefileName/cFilePath.... ExeName: #include "fivewin.ch"REQUEST HB_CODEPAGE_UTF8function Main() HB_CDPSELECT( "UTF8" ) FW_SetUnicode( .t. )? "ExeName()", ExeName(), "HB_A...
test.prg #include "fivewin.ch"procedure main() MsgInfo( i18n("Hello Word") )return for generate the hil file d:\xharbour\bin\harbour test.prg -n -j.\i18n\en_US.hil for traslate hil file d:\xharbour\bin\hbdict .\i18n\en_US.hil es_NI.hil for edit ...
... HB_CompileFromBuf() is declared in c:\harbour\src\compiler\hbcmplib.c and it makes this call: hb_compGenArgList( 2, hb_pcount(), &argc, &argv, &pIncItem, &pOpenFunc, &pMsgFunc ); Notice the 2. In hb_compGenArgList() we find this code: if( pMsgFunc ) { ...
... en est ar :roll: ea. Calling CT-API Functions Esta es funcion en C #include <stdio.h> #include <ct_api.h> int main(int argc, char *argv[]) { char ret; unsigned short ctn; unsigned short pn; unsigned char sad; unsigned char dad; // REQUEST ICC unsigned char command[] = { 0x20, 0x12, ...
io ho un altro problema : #define NOME_PROGRAMMA_TITLE "STUDIO" IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) ) MsgWait(NOME_PROGRAMMA_TITLE+" è già in esecuzione !","Attenzione") SHOWWINDOW( FINDWINDOW( 0, NOME_PROGRAMMA_TITLE ), 9 ) SETFOREGROUNDWINDOW( FINDWINDOW( 0, NO...
Ops !! Ho dovuto immediatamente togliere questo controllo ISEXERUNNING( CFILENOEXT( HB_ARGV( 0 ) ) ) ...... poichè più di un cliente mi ha riferito che non riusciva a a lanciare in programma, in quanto tale funzione risultava già in esecuzione !! Eppure io ho fatto dei test su Windows XP, Windows 7 ...