Search found 300 matches: begindump

Return to advanced search

Re: compile errors

I found this in the fourms... #pragma BEGINDUMP void __get_std_stream() {} void _chdir() {} #pragma ENDDUMP I added that and it compiles but when I run the program I get an error: "The procedure entry point curl_mime_addpart could not be ...
by Jeff Barnes
Thu Apr 11, 2024 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: compile errors - send a SMS
Replies: 19
Views: 382

Re: Error '__streams' referenced from K:\FWH\LIB\FIVEH.LIB|HARB

con esto en mi prg, funciono. gracias enrico.

#pragma BEGINDUMP

int _streams;

#pragma ENDDUMP
by carlos vargas
Mon Mar 04, 2024 10:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error '__streams' referenced from K:\FWH\LIB\FIVEH.LIB|HARB
Replies: 15
Views: 2312

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( ...
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: 285

Connection to XPlane Flight Simulator

... use a SDK, from XplaneConnect (NASA), to connect an external app to the X-Plane flight simulator. The C program in the SDK is as follows: #pragma BEGINDUMP//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the//National Aeronautics and Space Administration. ...
by alvaro533
Sun Jun 04, 2023 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 1024

Re: Get real date from the Internet

Antonio Linares wrote:Problem solved. We included the C code inside a pragma BEGINDUMP ENDDUMP and those errors are gone :-)

function Now() is now part of FWH. We are publishing a new version today


Thank you.
by Horizon
Wed Nov 02, 2022 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4590

Re: Get real date from the Internet

Problem solved. We included the C code inside a pragma BEGINDUMP ENDDUMP and those errors are gone :-)

function Now() is now part of FWH. We are publishing a new version today
by Antonio Linares
Wed Nov 02, 2022 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4590

Re: BCC 7 32 Bit \INCLUDE

hi Antonio, there are some differences if you want to use it as a standalone C file or inside a PRG using #pragma BEGINDUMP ... ENDDUMP Ok, begin to understand can you use it for now inside the PRG ? not sure if HB_FUNC() is working ... but i get no Warning when compile :D i do ...
by Jimmy
Mon Oct 17, 2022 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BCC 7 32 Bit \INCLUDE
Replies: 9
Views: 370

Re: BCC 7 32 Bit \INCLUDE

Dear Jimmy,

there are some differences if you want to use it as a standalone C file or inside a PRG using #pragma BEGINDUMP ... ENDDUMP

can you use it for now inside the PRG ?
by Antonio Linares
Mon Oct 17, 2022 6:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BCC 7 32 Bit \INCLUDE
Replies: 9
Views: 370

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

Re: hb_base64 link

Antonio Linares wrote:Dear Enrico,

> you can solve the problem with #ifdef __XHARBOUR__, can't you?

going to check if we can wrap a pragma BEGINDUMP ENDDUMP using it


I dont know...
by Enrico Maria Giordano
Mon Sep 12, 2022 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3593

Re: hb_base64 link

Dear Enrico,

> you can solve the problem with #ifdef __XHARBOUR__, can't you?

going to check if we can wrap a pragma BEGINDUMP ENDDUMP using it
by Antonio Linares
Mon Sep 12, 2022 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3593

Re: IE

... LIB hDLL DLL FUNCTION 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, ...
by Natter
Thu May 26, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1765

Re: unrecoverable error 9015 hb_vmdo()

nenhum arquivo .log é gerado nenhum arquivo de erro é 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 ...
by Edman
Thu Oct 07, 2021 5:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: unrecoverable error 9015 hb_vmdo()
Replies: 33
Views: 1851

Re: problema con DrawBitmap() usando tCodeBars

... oError:SubSystem = "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( ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1039

Re: Funciones C en Harbour

... PRG. Mira este ejemplo para crear una funcion denominada "C_2EXP()" con el proposito de elevar a un exponente n el numero 2 : #pragma BEGINDUMP #include <hbapi.h> #include <math.h> HB_FUNC( C_2EXP ) { long long n, nResult; n = hb_parnll(1); nResult = pow(2,n); hb_retnll(nResult); ...
by George
Mon Feb 08, 2021 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 1669
Next

Return to advanced search