Perhaps it's not declared as 'extern C'. Remember that in MSVC
C++ mode is enabled by default.

Brgds,
Viktor

On Sat, Nov 7, 2009 at 10:28 AM, Pritpal Bedi <bediprit...@hotmail.com>wrote:

>
> Hello All
>
> I get this unresolved external when compiled with MSVC 2008:
>
> xhb.lib(dbgfxc.obj) : error LNK2019: unresolved external symbol
> _hb_OutDebug
> referenced in function _hb_ToOutDebug
> c:\dev_projects\harbour\vouch\vouch.exe : fatal error LNK1120: 1 unresolved
> externals
> hbmk2: Error: Running linker. 1120
>
> If I move hb_OutDebug() function from hboutdbg.c to dbgfxc.c above
> hb_ToOutDebug(),
> it works. I am puzzled why MSVC do not recognize this function though
> header
> entry is correct.
>
> Regards
> Pritpal Bedi
> --
> View this message in context:
> http://old.nabble.com/MSVC-2008---XHB.lib-tp26240891p26240891.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to