Main in external .lib

Aug 19, 2011 at 8:46am
I'm trying to have my main function in an static library. I can compile the library just fine, but whenever I try to compile the project that links to the .lib, I get an "entry point must be defined" error. Am I missing a step somewhere?

(I could post code, but seeing as the code at this point consists of "int main (void) {return 0;} in a .lib, it's a short code-post :))
Topic archived. No new replies allowed.