Search found 233 matches: parnl

Return to advanced search

Re: Ayuda C++ : SOLUCIONADO

// hb_parc(3) -> "c:\temp\salida.pdf" // la impresora por defecto no pueder ser PDF24 O PDFCREATOR (VIRTUALES) HB_FUNC_STATIC( STARTDOC ) { HDC hDC = (HDC) hb_parnl(1) ; LPDOCINFO sDoc = NULL; BOOL Result = FALSE ; if (hDC ) { sDoc = (LPDOCINFO) hb_xgrab(sizeof(DOCINFO)); sDoc->cbSiz...
by russimicro
Fri Apr 19, 2024 9:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda C++ : SOLUCIONADO
Replies: 12
Views: 314

HMG 64 Bit Constante -> FiveWin ?

hi,

HMG use Prefix "HMG_" for 64 Bit compatible Way
HMG_parnl
HMG_parvc
HMG_parc

HMG_arrayGetCPtr

HMG_retc
HMG_retnl
HMG_storc
HMG_storvnl
HMG_storvc

did FiveWin have a Prefix for 64 Bit ( fw_ ) :?:
by Jimmy
Wed Oct 19, 2022 6:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: DWM ( Desktop Windows Manager ) Sample Code

Dear Jimmy, As you are filling the struct members further on, then there is no need to initialize the struct in advance: MARGINS margins; margins.cxLeftWidth = hb_parnl( 2 ) ; margins.cxRightWidth = hb_parnl( 3 ) ; margins.cyTopHeight = hb_parnl( 4 ) ; margins.cyBottomHeight = hb_parnl( 5 ) ; Also I...
by Antonio Linares
Sun Aug 28, 2022 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 908

Re: DWM ( Desktop Windows Manager ) Sample Code

Dear Jimmy, You have a little typo here: hr = DwmExtendFrameIntoClientArea( (HWND) hb_parnl( 1 ) , &margins) : latest must be ; instead of : remember that MARGIN is defined as: typedef struct _MARGINS {  int cxLeftWidth;  int cxRightWidth;  int cyTopHeight;  int cyBottomHeight;} MARGIN...
by Antonio Linares
Fri Aug 26, 2022 10:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DWM ( Desktop Windows Manager ) Sample Code
Replies: 10
Views: 908

Re: Dark mode

http://forums.fivetechsupport.com/viewtopic.php?f=6&t=41065&sid=54ad898a54718ceb4499289b28c0db17 // \samples\DARKMODE.PRG - En windows 7 32 bits, no funciona. /* In xHarbour, Error: DARKMODE.c: Warning W8065 DARKMODE.prg 59: Call to function 'hb_parvni' with no prototype in ...
by nageswaragunupudi
Tue Nov 16, 2021 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark mode
Replies: 20
Views: 2925

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

Prueba asi: hb_retl( mysql_real_query( ( void * ) hb_parnll ( 1 ), hb_parc( 2 ), hb_parnl( 3 ) ) ); Si el error se soluciona, entonces cambia todos los hb_parnl() a hb_parnll() y los hb_retnl() a hb_retnll() Al tratarse de una aplicación de 64 bits hay que usar hb_parnll() y hb_retnll(). Lo correct...
by Compuin
Thu Jul 01, 2021 4:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4079

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

Prueba asi: hb_retl( mysql_real_query( ( void * ) hb_parnll ( 1 ), hb_parc( 2 ), hb_parnl( 3 ) ) ); Si el error se soluciona, entonces cambia todos los hb_parnl() a hb_parnll() y los hb_retnl() a hb_retnll() Al tratarse de una aplicación de 64 bits hay que usar hb_parnll() y hb_retnll(). Lo correcto...
by Antonio Linares
Thu Jul 01, 2021 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4079

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

Modifica la línea 271 de erp.prg así: hb_retl( mysql_real_query( ( MYSQL * ) hb_parnl( 1 ), hb_parc( 2 ), hb_parnl( 3 ) ) ); Logro crear el ejecutable, pero al correrlo arroja este archivo hb_out.log Application Internal Error - C:\sistema64\erp.exe Terminated at: 2021-07-01 10:53:06 Unrecoverable ...
by Compuin
Thu Jul 01, 2021 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4079

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

Modifica la línea 271 de erp.prg así:

hb_retl( mysql_real_query( ( MYSQL * ) hb_parnl( 1 ), hb_parc( 2 ), hb_parnl( 3 ) ) );
by Antonio Linares
Thu Jul 01, 2021 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4079

Re: problema con DrawBitmap() usando tCodeBars

Hola Enrico aca te paso un sample de lo que estoy haciendo aver si a vos te funciona ! asi llamo a la funcion del codigo QR desde la rutina de impresion nRow+=nRowStep oPrn:say(nRow,nMargen, replicate('-',45),oFont1) nRow+=nRowStep //..Genera QR llamando a TcodeBars ) BuildQR(oPrn, nRow,nMargen ,cCo...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1023

Re: Funciones C en Harbour

La función hb_parptr() se implementó en Harbour con bastante posterioridad respecto a hb_parnl() y hb_parnll()
de ahi que usásemos la técnica de hb_parnl()/hb_parnll() en FWH en vez de hb_parptr() que basicamente lo que hace es lo mismo :-)
by Antonio Linares
Wed Feb 10, 2021 9:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 1645

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 in the LOW...
by carlos vargas
Mon Feb 08, 2021 9:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 1645

Re: Funciones C en Harbour

Hola Jose, En el ejemplo que presenta puedes ver que las sentencias no son identicas. Fijate que la primera tiene hb_parnl() y la segunda hb_parnll(). Con relacion al formato a usar lo puedes escribir dentro de cualquier archivo PRG. Mira este ejemplo para crear una funcion denominada "C_2EXP()...
by George
Mon Feb 08, 2021 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 1645

Re: Funciones C en Harbour

1.- ¿porque hace #ifndef_WIN64 si luego el else es la misma sentencia, identica.? La sentencia no es identica: hb_parnl / hb_parnll 2.- hb_retl es una funciona Harbour que recibe como parametro un entero y devuelve un entero (creo) No, devuelve un logico. entonces como se le pase como parametro Ani...
by Enrico Maria Giordano
Mon Feb 08, 2021 4:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 1645

problemas al linkear

Hola. usando harbour y Fwh la ultima. Me arroja estos errores: [1]:iLink32.Exe -Gn -q -aa -Tpe -x @testMaria.bcl Error: Unresolved external 'WinMain' referenced from X:\HARB\BCC7\LIB\C0W32.OBJ Error: Unresolved external '_hb_vmProcessSymbols' referenced from X:\PROYECTOS\TEST\MARIA\OBJ\MARIA.OBJ Err...
by goosfancito
Thu Feb 04, 2021 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas al linkear
Replies: 6
Views: 441
Next

Return to advanced search