Search found 223 matches: parc

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: 316

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

TWAIN_GetNextSourceName()
TWAIN_GetDefaultSourceName()

HB_FUNC( TW_GETNEXTSOURCENAME )
{
hb_retni( TWAIN_GetNextSourceName( hb_parc( 1 ) ) );
}

HB_FUNC( TW_GETDEFAULTSOURCENAME )
{
hb_retni( TWAIN_GetDefaultSourceName( hb_parc( 1 ) ));
}

TWAIN.LIB :o
by jhnsnlb
Tue Nov 21, 2023 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39498

Re: Get real date from the Internet

Dear Hakan,

> rv = getaddrinfo("www.google.com", "http", &hints, &result);

Simply modify the function source code with this:

rv = getaddrinfo( ( char * ) hb_parc( 1 ), "http", &hints, &result);
by Antonio Linares
Thu Jan 05, 2023 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4466

Re: HMG 64 Bit Constante -> FiveWin ?

hi Antonio, > but what about String Constant like hb_parc or hb_parvc under Fivewin You use those standard functions and they work fine, as expected sorry i made wrong Question. it is not 64 Bit it is Unicode for String now i found this FiveWin Unicode   if ( FW_GetUnicode() )   &...
by Jimmy
Sat Oct 22, 2022 7:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: HMG 64 Bit Constante -> FiveWin ?

Dear Jimmy,

> but what about String Constant like hb_parc or hb_parvc under Fivewin

You use those standard functions and they work fine, as expected
by Antonio Linares
Sat Oct 22, 2022 5:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: HMG 64 Bit Constante -> FiveWin ?

hi,
nageswaragunupudi wrote:This code works for both 32/64 bits.
Code: Select all  Expand view
#include <fwh.h>  // from fwh\include
hWnd = ( HWND ) fw_parH( 1 );  

Ah, there are Prefix "fw_" come from, thx :D

but what about String Constant like hb_parc or hb_parvc under Fivewin :?:
by Jimmy
Sat Oct 22, 2022 4:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: HMG 64 Bit Constante -> FiveWin ?

hi, hb_par* function are to be used inside "c" functions. i do talk about HB_FUNC() this is HMG Syntax Sample using HMG_parc() HB_FUNC ( LISTVIEW_ADDCOLUMN ){   LV_COLUMN COL;   COL.mask= LVCF_WIDTH | LVCF_TEXT | LVCF_FMT | LVCF_SUBITEM ;   COL.cx= hb_parni(3);   COL.p...
by Jimmy
Sat Oct 22, 2022 1:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: HMG 64 Bit Constante -> FiveWin ?

hi, i got this Warning W8065 HB_FUNC.PRG 41: Call to function 'HB_parc' with no prototype in function HB_FUN_LV_INSERTCOLUMN Warning W8065 HB_FUNC.PRG 74: Call to function 'HB_parvc' with no prototype in function HB_FUN_ADDLISTVIEWITEMS Warning W8065 HB_FUNC.PRG 79: Call to function 'HB_parvc' with ...
by Jimmy
Fri Oct 21, 2022 5:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

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: IA

Dear Jimmy,

I think CreateBinary() could be implemented like this:

HB_FUNC( CREATEBINARY )
{
hb_retclen( hb_parc( 1 ), hb_parclen( 1 ) );
}

or maybe we simply don't need it as Harbour strings can contain embedded zeroes
by Antonio Linares
Fri Apr 08, 2022 10:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: IA
Replies: 19
Views: 1696

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

Ayuda compilar funcion en C mingw32(SOLUCIONADO)

Hola amigos: Estoy probando el compilador MingW32 . Tengo que generar una libreria con funciones y propias y otras que he ido recogiendo del foro, el caso es que esta funcion de mas abajo compila perfectamente con Borland C++ 7.4, pero en mingw32 me da el error que indico. HB_FUNC( GETDISKFREESP...
by jvtecheto
Tue Apr 20, 2021 2:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda compilar funcion en C mingw32(SOLUCIONADO)
Replies: 3
Views: 359
Next

Return to advanced search