FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error al crear una dll propia
Posts: 158
Joined: Tue Oct 11, 2005 03:10 PM
Error al crear una dll propia
Posted: Thu Aug 17, 2017 04:47 PM
Alguien me puede ayudar con este error?
Code (fw): Select all Collapse
#undef _HB_SNPRINTF_ADD_EOS
#undef hb_snprintf
/* NOTE: The full size of the buffer is expected as nSize. [vszakats] */


/*=======>>>>>  ERROR: DECLARATION SINTAX ERROR  <<<<<==========

ULONG hb_snprintf( char * buffer, size_t nSize, const char * format, ... )

EN ESTA LINEA    */  

         
{
   va_list arglist;
   ULONG result;

   va_start( arglist, format );

#if defined( __DJGPP__ ) && ( __DJGPP__ < 2 || ( __DJGPP__ == 2 && __DJGPP_MINOR__ <= 3 ) )
   /* Use vsprintf() for DJGPP <= 2.03.
      This is a temporary hack, should implement a C99 snprintf() ourselves. */
   result = vsprintf( buffer, format, arglist );
#elif defined( _MSC_VER ) && _MSC_VER >= 1400
   result = _vsnprintf_s( buffer, nSize, _TRUNCATE, format, arglist );
#elif ( defined( _MSC_VER ) || defined( __DMC__ ) ) && !defined( __XCC__ )
   result = _vsnprintf( buffer, nSize, format, arglist );
   #define _HB_SNPRINTF_ADD_EOS
#elif defined( __WATCOMC__ ) && __WATCOMC__ < 1200
   result = _vbprintf( buffer, nSize, format, arglist );
#else
   result = vsnprintf( buffer, nSize, format, arglist );
#endif


Gracias
Posts: 158
Joined: Tue Oct 11, 2005 03:10 PM
Re: Error al crear una dll propia
Posted: Fri Aug 18, 2017 02:37 PM

Este error me lo da al compilar MAINDLLP.C

Alguien puede ayudarme ?

Gracias

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Error al crear una dll propia
Posted: Fri Aug 18, 2017 05:15 PM

use xmate
see screen.c in folder dll of fwh

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion