Search found 54 matches: hbapiitm

Return to advanced search

lock params from low level

#include <hbapiitm.h>

PHB_ITEM pBlock = NULL;

...

pBlock = hb_itemParam( 1 ); // 1 for first parameter. Automatically calls hb_gcGripGet()

...

hb_evalBlock0( pBlock );

...

hb_itemRelease( pBlock ); // automatically calls hb_gcGripDrop()
by Antonio Linares
Sun Dec 27, 2020 10:23 am
 
Forum: Utilities / Utilidades
Topic: lock params from low level
Replies: 0
Views: 556

Declaration was expected in function DECLARE_HANDLE

... font I'm trying to compile #pragma BEGINDUMP #include <windows.h> #include <hbapi.h> #include <hbapierr.h> #include "hbapiitm.h" #include "hbvm.h" #include "hbapirdd.h" #include "hbxvm.h" HB_FUNC( ISEXE64 ) // Check if our app is ...
by KRCNET
Mon Jun 18, 2018 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Declaration was expected in function DECLARE_HANDLE
Replies: 1
Views: 548

Re: access to window via its :hwnd

... HBDLLENTRY3( cProc AS LPSTR, pItem1 AS PTR, pItem2 AS PTR ) AS LONG PASCAL LIB hDLL #pragma BEGINDUMP #include <hbapi.h> #include <hbapiitm.h> HB_FUNC( ITEMNEW ) { hb_retnl( ( unsigned long ) hb_itemNew( hb_param( 1, HB_IT_ANY ) ) ); } HB_FUNC( ITEMRELEASE ) { hb_retl( hb_itemRelease( ...
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: 1778

Error al compilar con xHarbour123 + BCC582 [SOLUCIONADO]

... 189: ) expected Error E2139 d:\xHarbour123\INCLUDE\hbvmpub.h 289: Declaration missing ; Error E2141 d:\xHarbour123\INCLUDE\hbapiitm.h 170: Declaration syntax error Error E2141 d:\xHarbour123\INCLUDE\hbapi.h 640: Declaration syntax error Error E2303 d:\xHarbour123\INCLUDE\hbapi.h ...
by MarioG
Fri Nov 17, 2017 12:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar con xHarbour123 + BCC582 [SOLUCIONADO]
Replies: 1
Views: 880

Re: create a harbour dll containing functions to be executed

... #pragma BEGINDUMP #include <windows.h> #include <hbapi.h> #include <hbapiitm.h> __declspec( dllexport ) LONG pascal DOPROC( char * cProcName, char * cParam ) { PHB_ITEM pItem = hb_itemPutC( NULL, cParam ); if( cProcName ...
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

New function For check email

... return .t. // *********************************************** #pragma BEGINDUMP #include "windows.h" #include "hbapiitm.h" #include "hbvm.h" #include "hbstack.h" #include "item.api" #include "hbpcode.h" #include "hbvmpub.h" ...
by HATHAL
Fri Mar 18, 2016 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New function For check email
Replies: 3
Views: 759

Re: Como verificar que el programa esta en ejecución

... #pragma BEGINDUMP #define HB_OS_WIN_USED #define _WIN32_WINNT 0x0400 #include <windows.h> #include "hbapi.h" #include "hbapiitm.h" HB_FUNC( ISICONIC ) { hb_retl( IsIconic( ( HWND ) hb_parnl( 1 ) ) ); } HB_FUNC ( FINDWINDOW ) { hb_retnl( ( LONG ) FindWindow( 0, hb_parc( ...
by postinelli
Mon Jan 05, 2015 4:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como verificar que el programa esta en ejecución
Replies: 14
Views: 2362

Re: Migrar a Harbour - Errores del compilador

Paz,

Este include:

#include <hbapiitm.h>

no tienes que ponerlo en el PRG sino en el fichero en C que estás compilando.

Estas añadiendo algún fichero en C a tu aplicación ?
by Antonio Linares
Wed Dec 17, 2014 5:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrar a Harbour - Errores del compilador
Replies: 29
Views: 5435

Re: Migrar a Harbour - Errores del compilador

Añade este fichero de cabecera:

#include <hbapiitm.h>

Y prueba a añadir esta función:

function DBSKIPPER( x )

return __DBSkipper( x )
by Antonio Linares
Tue Dec 16, 2014 8:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrar a Harbour - Errores del compilador
Replies: 29
Views: 5435

Re: Retorno de matriz de C a Harbour

Replace with an example given by Antonio Linares #pragma BEGINDUMP #include <hbapi.h> #include <hbapiitm.h> HB_FUNC( FESTRUCTURA_TABLA ) { PHB_ITEM pArray = hb_itemNew( NULL ); hb_arrayNew( pArray, 4 ); // 4 elements hb_arraySetC( pArray, 1, "Hello" ); ...
by jgayoso
Thu Aug 28, 2014 9:27 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Retorno de matriz de C a Harbour
Replies: 1
Views: 892

Re: Return to Harbour matrix C

Cambie por un ejemplo entregado por Antonio Linares #pragma BEGINDUMP #include <hbapi.h> #include <hbapiitm.h> HB_FUNC( FESTRUCTURA_TABLA ) { PHB_ITEM pArray = hb_itemNew( NULL ); hb_arrayNew( pArray, 4 ); // 4 elements hb_arraySetC( pArray, 1, "Hello" ); ...
by jgayoso
Thu Aug 28, 2014 9:27 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Return to Harbour matrix C
Replies: 1
Views: 1052

SOURCE FOR IMAGE WITH *.BMP *.EMF *.GIF *.ICO *.JPG *.PNG *

... <winuser.h> #include <wingdi.h> #include "hbapi.h" #include "hbvm.h" #include "hbstack.h" #include "hbapiitm.h" #include "commctrl.h" #include "olectl.h" #include <stdlib.h> #include <malloc.h> #include <memory.h> ...
by HATHAL
Sun Oct 06, 2013 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cover Flow
Replies: 10
Views: 5585

Re: To Antonio: hb_free () Pointer Overflow "€"

... c:\xHarbour\include\hbwince.h 189: ) expected Error E2139 c:\xHarbour\include\hbvmpub.h 288: Declaration missing ; Error E2141 c:\xHarbour\include\hbapiitm.h 169: Declaration syntax error Error E2141 c:\xHarbour\include\hbapi.h 638: Declaration syntax error Error E2303 c:\xHarbour\include\hbapi.h ...
by Verhoven
Mon May 06, 2013 10:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: To Antonio: hb_free () Pointer Overflow "€"
Replies: 23
Views: 4525

TGet Falla con el harbour del svn - por recientes cambios

... ); it copies object or clone it if class overloaded clone operation. ; TODO: add support for user defined class clone operation * harbour/include/hbapiitm.h * harbour/src/vm/itemapi.c * changed returned type of hb_itemCloneTo() to void * harbour/src/vm/itemapi.c * use hb_objCloneTo() in hb_itemClone*() ...
by carlos vargas
Tue Jan 22, 2013 7:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGet Falla con el harbour del svn - por recientes cambios
Replies: 20
Views: 5592

Problemas al crear la libreria TWBROWSE

... __conGetNL( void *, long * ); long __conRelease( void * ); #include <Windows.h> #ifdef __HARBOUR__ #include <hbapi.h> #include <hbapiitm.h> #include <hbvm.h> // #include <hbfast.h> #define MoveTo( hDC, x, y ) MoveToEx( hDC, x, y, NULL ) #define _PutSym( _SymEval ...
by ander7319
Fri Jan 04, 2013 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al crear la libreria TWBROWSE
Replies: 6
Views: 2855
Next

Return to advanced search