BlackSun Posted November 25, 2004 Posted November 25, 2004 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. Quote
Administrators PlausiblyDamp Posted November 25, 2004 Administrators Posted November 25, 2004 (edited) What dll are you importing? Did this stop working once you added the import or did you add the import and also modify any code? Edited March 1, 2007 by PlausiblyDamp Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.