Re: Another stupid MSVC6 linking problem
- From: Mihajlo Cvetanović <mac@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 11:56:03 +0200
hamishd wrote:
First of all, i'm using the standard Release and Debug configurations.
I don't know enough to meddle with those.
I compile and link in Release mode, and we are all good.
I compile and link in Debug mode, and a get:
TestClass.obj : error LNK2001: unresolved external symbol _CSloadData
plus a few other similar errors from the same library.
Now first of all I thought i must have been missing a *.lib in the
Object / Library modules in the Project -> Settings -> Link tab, but
alas.
What could cause this type of difference between Release and Debug?
There might be one or several of the following:
- difference introduced in source (#ifdef DEBUG),
- difference between configurations (Debug and Release may differ in some obscure setting, not only missing a *.lib),
- difference between libs itself (i.e. you must include different libs appropriate for the configuration, like SomeLibDBG.lib and SomeLibRLS.lib)
So, maybe you use CSloadData only in Debug mode, and that function really isn't there. Or you changed function calling convention (__cdecl should be default). Or you should really include some other lib, not the one you included.
BTW, this isn't the type of the question for comp.lang.c++
.
- Prev by Date: Re: gumby question about control appearance
- Next by Date: Re: Child dialogs not receiving focus
- Previous by thread: gumby question about control appearance
- Next by thread: Re: Another stupid MSVC6 linking problem
- Index(es):
Relevant Pages
|