visual c++ - VS 2010 C++ creating library -
i develop game. want make engine. im considering using sfml , c++ this, question not it.
i want separate game engine. @ first, made solution c++ project it. far good.
then added new project solution. here question begins.
what settings need change in engine project, compiles library ? (.dll guess ?)
and settings need change in game project (.exe) can access classes engine library ?
school didn't taught me, how this. in c# easy.
if using mfc ,you need create dll game engine using wizard vc++->mfc->mfc dll.
if win32 dll or c++ dll need create win32 project. please read following posts understand each 1 of it
http://www.codeproject.com/articles/6351/regular-dll-tutor-for-beginners
http://www.codeproject.com/articles/2516/creating-and-consuming-mfc-dlls-for-beginners
http://www.codeproject.com/articles/8341/dlls-are-simple-part-2
http://www.codeproject.com/articles/8417/dlls-are-simple-part-3
Comments
Post a Comment