Search found 260 matches: hbapi

Return to advanced search

Re: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)

Puedes explicarnos como lo has solucionado ? gracias Agrege a mi prg este porcion #pragma BEGINDUMP #include <hbapi.h> #undef hb_retclen_buffer #undef hb_parldef void hb_retclen_buffer( char * szText, int nLen ) { hb_retclen( szText, nLen ); } int hb_parldef( int iParam, ...
by CARLOS ATUNCAR
Fri Jan 26, 2024 11:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)
Replies: 5
Views: 279

Re: Connection to XPlane Flight Simulator

... sino que hay que usar lo que se denomina "el sistema extendido": despues de todos los includes inciales añade este: #include <hbapi.h> XPCSocket openUDP(const char *xpIP){    return aopenUDP(xpIP, 49009, 0);}HB_FUNC( OPENUDP ){   hb_retptr( ...
by Antonio Linares
Mon Jun 05, 2023 6:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 995

Re: CodeBlock

Dear Ari, In harbour/include/hbapi.h you find this: https://github.com/harbour/core/blob/master/include/hbapi.h typedef struct _HB_CODEBLOCK { const HB_BYTE * pCode; /* codeblock pcode */ PHB_SYMB pSymbols; /* codeblocks symbols ...
by Antonio Linares
Tue Nov 01, 2022 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CodeBlock
Replies: 2
Views: 276

Re: HMG 64 Bit Constante -> FiveWin ?

hb_par* function are to be used inside "c" functions.

Please read some *.c source files and some c code inside prg files

see hbapi.h in (x)Harbour include folder
by nageswaragunupudi
Fri Oct 21, 2022 7:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HMG 64 Bit Constante -> FiveWin ?
Replies: 23
Views: 1248

Re: Get real date from the Internet

#pragma BEGINDUMP

#include <hbapi.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#ifdef __BORLANDC__
#include <winsock2.h>
#endif

#include <ws2tcpip.h>
by Antonio Linares
Fri Sep 30, 2022 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4468

Re: IE

... WEBVIEW_EVAL( hWebView AS LONG, cJavaScript AS LPSTR ) AS VOID PASCAL FROM "webview_eval" LIB hDLL #pragma BEGINDUMP #include <hbapi.h> #include <windows.h> static void test( const char * x, const char * y) //, void * t ) { MessageBox( 0, x, y, 0 ); } HB_FUNC( TEST ...
by Natter
Thu May 26, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1681

Re: Campos empaquetados en archivo de texto

... es muy poco lo que hice .... mis conocimientos en C son totalmente nulos De hecho no sé por donde empezar. #include <Windows.h> #include <hbapi.h> HB_FUNC( Pack2Text ) { private Decimal Unpack(byte[] inp, int scale) { long lo = 0; long mid = 0; long hi = 0; bool isNegative; // this ...
by El Loco
Wed Oct 13, 2021 3:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campos empaquetados en archivo de texto
Replies: 47
Views: 3021

Re: unrecoverable error 9015 hb_vmdo()

... é gerado mesmo inserindo o erro.prg: ERRO.PRG function Main() GeneroError() return nil #pragma BEGINDUMP #include <windows.h> #include <hbapi.h> #include <hbapierr.h> HB_FUNC( GENEROERROR ) { hb_xfree( 0 ); } void hb_errInternal (ULONG ulIntCode, const char * szText, const char ...
by Edman
Thu Oct 07, 2021 5:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: unrecoverable error 9015 hb_vmdo()
Replies: 33
Views: 1773

Re: C into PRG problem

Antonio Linares wrote:A better way is:

#include <windows.h>
#include <hbapi.h>

Means to look for them in the include paths


Antonio,

Solved! Thank you.
by richard-service
Tue Aug 24, 2021 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: C into PRG problem-RESOLVED
Replies: 6
Views: 692

Re: C into PRG problem

A better way is:

#include <windows.h>
#include <hbapi.h>

Means to look for them in the include paths
by Antonio Linares
Thu Aug 19, 2021 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: C into PRG problem-RESOLVED
Replies: 6
Views: 692

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

... ^ c:\Bcc7164\include\windows\sdk\mmsyscom.h:103:21: note: previous definition is here typedef UINT FAR *LPUINT; ^ c\Libreria.c:2:10: fatal error: 'hbapi.h' file not found #include "hbapi.h" ^ 33 warnings and 1 error generated. ** error 1 ** deleting .\obj\Libreria.obj C:\clinica64>
by Compuin
Mon Jun 28, 2021 12:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4109

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

... -I$(BCDIR)\include\windows\crtl -oobj\$& @tmp c\$&.c    Si no agrego los includes de Harbour, no deja cargar el <hbapi> y por ende, no deja incluir el archivo escrito en .C Tambien note que el .C no se logra comvertir a .Obj Como logro corregir ambos?
by Compuin
Sat Jun 26, 2021 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4109

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

... typedef unsigned int WORD; #endif Are you using #include <clipdefs.h> in your C code ? If so, please remove it and just use #include <hbapi.h> Hello, I removed <clipdefs.h> and the error messages gone. Now I can not link . c file andf getting this c:\bcc7164\bin\ilink64 -Gn ...
by Compuin
Sat Jun 26, 2021 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4109

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

Please try with these changes in c:\harbour\include/clipdefs.h:

#ifndef HB_APIEXT_H_
typedef HB_VMHANDLE HANDLE;
typedef USHORT BOOL;
typedef unsigned int WORD;
#endif

Are you using #include <clipdefs.h> in your C code ? If so, please remove it and just use #include <hbapi.h>
by Antonio Linares
Sat Jun 26, 2021 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4109

Re: problema con DrawBitmap() usando tCodeBars

... = "TCODEBARS" oError:SubCode = nError oError:Severity = 2 Eval( ErrorBlock(), oError ) endif RETURN nil #pragma BEGINDUMP #include <hbapi.h> #include <windows.h> HB_FUNC( CREATECOMPATIBLEBITMAP ) // hDC, nWidth, nHeight { hb_retnl( ( LONG ) CreateCompatibleBitmap( ( HDC ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1034
Next

Return to advanced search