In my project I need to create libraries out of a few of my modules.
So I tried practicing library-making in the most basic way:
(Im working with visual c++)
1> I created a new project ->win 32 static library (lets call it test)
2>I added one of my modules to it (lets call it Mod.c ) using the project->addtoProject->files
3>I compiled and performed build via build->build test.lib
4>I then added the path to test.lib (under the Debug library) in my main project (by going to project->settings->link panel->object/library Modules)
When performing build to my main project, the following link error appears:
LNKI2001 Unresolved External Symbol Winmain@16
Please help me, and if possible, guide me step by step , as I've been trying very hard with no luck, and am becominbg desperate.
Thanks a bunch!