471,595 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,595 software developers and data experts.

error LNK2001: unresolved external symbol __HUGE

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
Nov 16 '05 #1
1 7121
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

"Alek Davis" <alek_DOT_davis_AT_intel_DOT_com> wrote in message
news:u8**************@TK2MSFTNGP12.phx.gbl...
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

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by yanwan | last post: by
2 posts views Thread by Helen | last post: by
2 posts views Thread by Mary | last post: by
4 posts views Thread by Sanjay Kumar | last post: by
1 post views Thread by developer | last post: by
6 posts views Thread by sadegh | last post: by
1 post views Thread by mahricky | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.