Search found 74 matches: stdio

Return to advanced search

Re: Conectarse con mariaDB

... installed on your macOS. You can download it from the official MySQL website: https://dev.mysql.com/downloads/connector/c/ #include <stdio.h> #include <stdlib.h> #include <mysql/mysql.h> int main() { MYSQL *conn; MYSQL_RES *res; MYSQL_ROW row; // Initialize the MySQL ...
by Antonio Linares
Mon Jan 01, 2024 2:55 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Conectarse con mariaDB
Replies: 4
Views: 9902

Re: HB_ZIPDELETEFILES()

After linking in [D:\xHB10272_xcc\xhb\lib\xhbzip.lib] [D:\xHB10272_xcc\xhb\lib\xhbzipdll.lib] I get error: xLINK: fatal error: File not found: 'LIBCMT.LIB'. After adding [D:\xHB10272_xcc\xhb\c_lib\win\libcmt.lib] New errors: xLINK: error: Unresolved external symbol '__localtime64 referenced from xhb...
by Taavi
Tue Dec 12, 2023 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HB_ZIPDELETEFILES()
Replies: 8
Views: 950

FWH 2307 con xHarbour

... 56: Unable to open include file 'stdarg.h' Error E2209 C:\xHarbour10275\include\hbdefs.h 57: Unable to open include file 'stdio.h' Error E2209 C:\xHarbour10275\include\hbdefs.h 58: Unable to open include file 'stdlib.h' Error E2209 C:\xHarbour10275\include\hbdefs.h 59: ...
by damianodec
Mon Oct 09, 2023 3:02 pm
 
Forum: All products support
Topic: FWH 2307 con xHarbour
Replies: 1
Views: 251

Re: Get real date from the Internet

Dear Hakan, If we include the source code of function Now() inside FWH, then when building a PRG that uses such function we get this: LINK : warning LNK4217: symbol '___acrt_iob_func' defined in 'libucrt.lib(_file.obj)' is imported by 'FiveHC32.lib(NOW.obj)' in function '_HB_FUN_NOW' LINK : warning ...
by Antonio Linares
Wed Nov 02, 2022 5:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4466

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

Re: Get real date from the Internet

Dear Enrico,

that breaks with MSVC 2022:

c:\harbour\include\hbdefs.h(51): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory

using FWH\samples\buildh32.bat
by Antonio Linares
Fri Sep 30, 2022 10:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4466

Re: Runtime with Windows 7 - New builds

Tim, I don't actually support any Win7 devices any longer, but I do still have a fair number of XP devices and older WIndows Server devices that are still in my 32 bit mix. I had to deal with a similar situation back in the VS 2017 period to keep being able to build for those devices while also bein...
by rhlawek
Thu Apr 28, 2022 8:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Runtime with Windows 7 - New builds
Replies: 5
Views: 562

Re: Make para BCC10

... a single source file, console program. Here is the source code of a file called simple.cpp that I wrote in the text editor, Notepad: #include <stdio.h> int main(void) { printf("Output from running program"); return 0; } To build this into a program we only need to call the compiler ...
by cnavarro
Sun Mar 28, 2021 5:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Make para BCC10
Replies: 7
Views: 1121

Errors with test.mak, FW 32 bit, bcc582

... c:\harbour\include\hbdefs.h 50: Unable to open include file 'stdarg.h' Error E2209 c:\harbour\include\hbdefs.h 51: Unable to open include file 'stdio.h' Error E2209 c:\harbour\include\hbdefs.h 52: Unable to open include file 'stdlib.h' Error E2209 c:\harbour\include\hbdefs.h 53: Unable to open ...
by FWExplorer
Fri Nov 27, 2020 2:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Errors with test.mak, FW 32 bit, bcc582
Replies: 4
Views: 569

Error calling a service

... from inside my app with waitrun() or Shellexecute() does everything but printing. So I did a simple program in Pelles C to probe it. #include <stdio.h> #include <windows.h> #include <shellapi.h> int main() { #define WIN32_DEFAULT_LIBS static char *cmdstr="do.bat"; ShellExecute(NULL,"open",cmdstr,NULL,NULL,SW_HIDE); ...
by Adolfo
Tue Aug 25, 2020 3:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error calling a service
Replies: 7
Views: 760

Re: Ejecutar llamada a servicio.

Agrego mas información de esta rareza. Cree un exe en Pelles C con las siguientes lineas #include <stdio.h> #include <windows.h> #include <shellapi.h> int main() { #define WIN32_DEFAULT_LIBS static char *cmdstr="do.bat"; ShellExecute(NULL,"open",cmdstr,NULL,NULL,SW_HIDE); ...
by Adolfo
Tue Aug 25, 2020 2:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 1585

Xedit con Harbour y Borland

... C:\Harbour\Include\hbdefs.h 50: Unable to open include file 'stdarg.h' Error E2209 C:\Harbour\Include\hbdefs.h 51: Unable to open include file 'stdio.h' Error E2209 C:\Harbour\Include\hbdefs.h 52: Unable to open include file 'stdlib.h' Error E2209 C:\Harbour\Include\hbdefs.h 53: Unable to open ...
by Compuin
Sat Dec 21, 2019 10:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xedit con Harbour y Borland
Replies: 6
Views: 1097

Saber Ip Publico

... Valencia : IP externo Fecha : 30/07/2018 Todos los derechos reservados albeiroval@gmail.com Se llama asi.. IpExterna:=IPPUBLIC() */ #include <stdio.h> #include <urlmon.h> #include <WinInet.h> #include "hbapi.h" #pragma comment(lib, "urlmon.lib") //-----------------------------------// ...
by Busmatic_wpb
Fri Dec 07, 2018 2:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Ip Publico
Replies: 1
Views: 607

Re: Error compilando con vs2017

... tienes esta línea: cl.exe -TP -W3 -c /GS- /I%hdir%\include /GA %1.c La modificas así: cl.exe -TP -W3 -c /GS- /I%hdir%\include /Ipath_a_stdio_h /GA %1.c Busca stdio.h en tu ordenador para saber cual es su path Hola Antonio: Este es el path C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt ...
by Compuin
Tue Oct 02, 2018 12:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error compilando con vs2017
Replies: 8
Views: 1365

Re: Error compilando con vs2017

En buildh32.bat tienes esta línea:

cl.exe -TP -W3 -c /GS- /I%hdir%\include /GA %1.c

La modificas así:

cl.exe -TP -W3 -c /GS- /I%hdir%\include /Ipath_a_stdio_h /GA %1.c

Busca stdio.h en tu ordenador para saber cual es su path
by Antonio Linares
Mon Oct 01, 2018 5:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error compilando con vs2017
Replies: 8
Views: 1365
Next

Return to advanced search