im curious as to why when i make a dll win 32 project in visual studio 2010, it doesnt show my dllmain function so i can work off that and leaves me with an blank .cpp.(and no i didnt click empty project). How can i fix this? -thx

When you create a DLL project the IDE cretes two *.cpp files, not one. DllMain() is generated in dllmain.cpp.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.