error LNK2001: unresolved external symbol __HUGE

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
 
A

Alek Davis

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top