Search found 28 matches: snprintf

Return to advanced search

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

Re: hb_base64 link

Antonio Linares wrote:
Enrico Maria Giordano wrote:Please read the message about _snprintf(), please.


Dear Enrico,

I already fixed it avoiding to include it when compiling with MSVC

thank you


Great, thank you! :-)
by Enrico Maria Giordano
Mon Sep 12, 2022 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3122

Re: hb_base64 link

Enrico Maria Giordano wrote:Please read the message about _snprintf(), please.


Dear Enrico,

I already fixed it avoiding to include it when compiling with MSVC

thank you
by Antonio Linares
Mon Sep 12, 2022 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3122

Re: hb_base64 link

Please read the message about _snprintf(), please.
by Enrico Maria Giordano
Mon Sep 12, 2022 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3122

Re: Ayuda DLL

Antonio buenas noches, ahora son estos: Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406) Copyright 1999-2009, http://www.xharbour.org http:...
by ricardog
Fri Sep 01, 2017 2:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: Ayuda DLL

El compilador te indica que hb_snprintf está declarado en hbapi.h y que su declaración (en hbapi.h):

int hb_snprintf( char * buffer, size_t bufsize, const char * format, ... )

No coincide con la tuya. Por lo que tienes que declararla de la misma forma que en hbapi.h
by Antonio Linares
Fri Aug 25, 2017 6:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: Ayuda DLL

Antonio, Gracias Esta es la funcion en el MAINDLLP.C unsigned long hb_snprintf( char * buffer, size_t nSize, const char * format, ... ) { va_list arglist; ULONG result; va_start( arglist, format ); #if defined( __DJGPP__ ) && ( __DJGPP__ < 2 || ( ...
by ricardog
Thu Aug 24, 2017 6:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: Ayuda DLL

Gracias Antonio, he intentado compilar mi dll (pcode), por motivos de actualización y simplemente no he podido corregir este error: LINEA 1518 ULONG hb_snprintf( char * buffer, size_t nSize, const char * format, ... ) [1]:Bcc32.Exe -IP:\32bits\harbour\include;P:\32bits\FWH\INCLUDE;P:\Fuentes\xharbou...
by ricardog
Thu Aug 24, 2017 2:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: To Antonio converte a function

...   ( (This)->lpVtbl -> HandleMenuMsg(This,uMsg,wParam,lParam) ) #endif and substitute sprintf_s with snprintf Antonino
by AntoninoP
Thu Jul 02, 2015 2:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio converte a function
Replies: 6
Views: 1777

Para Antonio: ERROR COMPILACION GTAPI

Hola Antonio, Estoy cambiando de la version 7.01 A LA VERSION 14.02 de fwh, y al intentar compilar me marca esto Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_hb_gt_Init' referenced from C:\FWH1402\XHARBOUR\LIB\RTL.LIB|gtapi Error: Unresolved external '_hb...
by Laurel
Mon Mar 17, 2014 9:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio: ERROR COMPILACION GTAPI
Replies: 2
Views: 1256

Re: error while compile with 13.07

if I add new fivehc.lib and fivehcm.lib and png.lib , I got error Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"S:\lib" -LIBPATH:"R:\lib" -LIBPATH:"R:\c_lib" -LIBPATH:"R:\c_lib\win" "t.obj&qu...
by kajot
Sun Aug 25, 2013 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error while compile with 13.07
Replies: 10
Views: 1845

Re: error while compile with 13.07

thanks, but yet xLINK: error: Unresolved external symbol '_strdup referenced from FiveHCM.lib(BITMAPS.obj)'. xLINK: error: Unresolved external symbol '_strlwr referenced from FiveHCM.lib(BITMAPS.obj)'. xLINK: error: Unresolved external symbol '__snprintf referenced from png.lib(png.obj)'. xLINK: err...
by kajot
Sun Aug 25, 2013 9:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error while compile with 13.07
Replies: 10
Views: 1845

Re: FWH 13.04 / xHarbour Commercial

Antonio, The very looong list of unresolved externals is now reduced to: xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'. xLINK: error: Unresolved external symbol '_GlobalMemoryStatusEx referenced from FiveHCM.lib(MEM.obj)'. xLINK: error: Unresolved exte...
by toyet
Wed May 22, 2013 8:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 13.04 / xHarbour Commercial
Replies: 28
Views: 7359

Re: Errors in New Build

Hi Antonio,

fwh 13 04 also gives me an error : xLINK: error: Unresolved external symbol '__snprintf referenced from png.lib(png.obj)&'
by Horizon
Thu May 02, 2013 7:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Errors in New Build
Replies: 46
Views: 11956
Next

Return to advanced search