error LNK2001: unresolved external symbol __HUGE

  • Thread starter Thread starter Alek Davis
  • Start date Start date
A

Alek Davis

I am trying to build a DLL in VS.NET 2003 and it works fine in Debug mode.
However, if I try to build it in Release mode, I get the following link
error in several .obj files:

error LNK2001: unresolved external symbol __HUGE

I searched Google but could not find any information related to this. I have
no references to this symbol in my code. Any ideas?

Thanks in advance,

Alek
 
OK, I was able to get rid of this error by changing the Use of MFC project
configuration option from Use Standard Windows Libraries to Use MFC in a
Shared DLL. I don't understand why I need MFC since I do not use any of the
MFC classes. My Debug configuration is set to Use Standard Windows Libraries
and it works fine. My project links to one static custom library, which is
also built with the Use Standard Windows Libraries option. I need to remove
the MFC dependency, because of the deployment issues. Does anyone have an
idea what I can do? Not sure if this is important (it may be): my DLL uses a
class generated by SPROXY.EXE, which talks to a Web Service.

Alek
 
Back
Top