_CrtDbgReport is defined in all version of the Debug C runtime libraries.
You must be linking with either an older version of the debug C runtime or a
non debug version.
Ronald Laeremans
Visual C++ team
> I just switched from VC6 to VC.Net (7.0). A project I'm working on build
> fine in Release mode, but when I switch to Debug, I get errors. I'm not
[quoted text clipped - 9 lines]
> *,unsigned short const *,struct tagDBPROPSET *,unsigned long,struct _GUID
> const &)"
On 3/15/04 12:18 PM, in article ONAy2nrCEHA.1228@TK2MSFTNGP11.phx.gbl,
> _CrtDbgReport is defined in all version of the Debug C runtime libraries.
> You must be linking with either an older version of the debug C runtime or a
> non debug version.
>
> Ronald Laeremans
> Visual C++ team
Thanks, I finally got it to work. I looked at another project that I was
able to successfully compile, and found a message about MSVCRTD.LIB. I got
my problem project to compile in Debug by putting MSVCRTD.LIB at the
beginning of the link list (it wasn't in the list at all). I now get a
warning about a conflict, but I'll work that out later.
Michael
>> I just switched from VC6 to VC.Net (7.0). A project I'm working on build
>> fine in Release mode, but when I switch to Debug, I get errors. I'm not
[quoted text clipped - 22 lines]
>> __CrtDbgReport
>> Debug\\ReadAcc.exe : fatal error LNK1120: 2 unresolved externals
Ronald Laeremans [MSFT] - 15 Mar 2004 23:21 GMT
Make sure that all the components you are linking together use exactly the
same version of the C runtime library.
Ronald
> On 3/15/04 12:18 PM, in article ONAy2nrCEHA.1228@TK2MSFTNGP11.phx.gbl,
>
[quoted text clipped - 27 lines]
> >> *,unsigned short const *,struct tagDBPROPSET *,unsigned long,struct _GUID
> >> const &)"
(?OpenWithCmnd@?$CBulkRecord@VCRBase@@VCCmndBase@@@@UAE_NPAUIOpenRowset@@PBG
> >> PAUtagDBPROPSET@@KABU_GUID@@@Z)
> >> atlsd.lib(AtlDebugAPI.obj) : error LNK2019: unresolved external symbol
[quoted text clipped - 6 lines]
> >> __CrtDbgReport
> >> Debug\\ReadAcc.exe : fatal error LNK1120: 2 unresolved externals