[xml] RE: Link error in libxml 2.6.7 on Win32: ftol2



Hi,

Put the following in some cpp file and compile your project.
Original link: 
http://q12.org/pipermail/ode/2004-January/010811.html


// only for MSDEV 6.0
#if (_MSC_VER == 1200) && (WINVER < 0x0500)
extern "C" long _ftol( double ); //defined by VC6 C libs
extern "C" long _ftol2( double dblSource ) { return _ftol( dblSource );
}
#endif

Best regards,

Emanuel Dejanu





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]