Search found 361 matches: pragma

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 ...
by Jeff Barnes
Thu Apr 11, 2024 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: compile errors - send a SMS
Replies: 19
Views: 251

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

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

Connection to XPlane Flight Simulator

... to 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: 993

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

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

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 ...
by Jimmy
Mon Oct 17, 2022 8:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BCC 7 32 Bit \INCLUDE
Replies: 9
Views: 342

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

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

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

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

Re: Harbour warnings

... something just via code (always my preference) I may hide the error using an HB_SYMBOL_UNUSED() call at the end of a func/proc and only use the pragma as a last resort. I tend to keep all my fivewin code isolated from my pure harbour code, so it actually isn't a huge problem for me, but then ...
by Enrico Maria Giordano
Fri Jun 24, 2022 9:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour warnings
Replies: 34
Views: 2308

Re: Harbour warnings

... something just via code (always my preference) I may hide the error using an HB_SYMBOL_UNUSED() call at the end of a func/proc and only use the pragma as a last resort. I tend to keep all my fivewin code isolated from my pure harbour code, so it actually isn't a huge problem for me, but then ...
by rhlawek
Fri Jun 24, 2022 7:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour warnings
Replies: 34
Views: 2308

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

Error compilando con msvc 64 bits. (SOLUCIONADO)

... to 'C:\Users\JOSVTE~1.CHE\AppData\Local\Temp\hbmk_hzpwkw.dir\arrays2.c'... Done. arrays2.c c:\bcc7\include\windows\sdk\sal.h(1): warning C4068: pragma "option" desconocida c:\bcc7\include\windows\sdk\ConcurrencySal.h(17): warning C4068: pragma "option" desconocida c:\bcc7\include\windows\sdk\ConcurrencySal.h(358): ...
by jvtecheto
Fri Nov 26, 2021 2:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error compilando con msvc 64 bits. (SOLUCIONADO)
Replies: 13
Views: 976
Next

Return to advanced search