Phil, Look at HB_EXTERN_BEGIN and HB_EXTERN_END
Ron -------------------------------------------------- From: "Phil Krylov" <[email protected]> Sent: Tuesday, December 23, 2008 6:48 AM To: "Patrick Mast, xHarbour." <[email protected]> Cc: "xHarbour-Developers" <[email protected]> Subject: Re: [xHarbour-developers] ChangeLog 2008-12-23 01:00 UTC+0300PhilKrylov <phil a t newstar.rinet.ru> > On Tue, Dec 23, 2008 at 5:50 AM, Patrick Mast, xHarbour. > <[email protected]> wrote: >> Thanks Phil! >> >> Compiling with MSVC, I get this error: >> Creating library bin\vc\ppgen.lib and object bin\vc\ppgen.exp >> common.lib(hbfsapi.obj) : error LNK2019: unresolved external symbol >> _hb_setGetDirSeparator referenced in function _hb_fsFNameSplit >> bin\vc\ppgen.exe : fatal error LNK1120: 1 unresolved externals > > Oops. It's really strange - the function is defined in ppgen.c. > Probably C++ mode mangles its name, because when I wrap the function > body inside extern "C" { ... }, MSVC builds OK (and stops later, but > it's another problem). I am not familiar with C++ mode building, can > you think of the most correct way to fix it? > > -- Ph. > > ------------------------------------------------------------------------------ > _______________________________________________ > xHarbour-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > ------------------------------------------------------------------------------ _______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers

