Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi ppl,

 

I'm building a class library dll using C++.NET and having a bit of problem.

 

Inside this class library i have included a dll via the #import method. As soon as i have done so,

my project was unable to build successfully (though it can compile). It is giving me this error:

 

libcmtd.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup

 

I have tried to look for '_main' and '_mainCRTStartup' but was unable to find either in any of my project files.

 

Would appreciate any light that you guys can shed on this, thanx in advance.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...