[SDL] Question re SDLmain Design Concept

Doug biteme at bitbasher.net
Mon Jun 5 17:54:05 PDT 2006


Lots of good info here!  Thanks everyone.

My app is not really a spit-polished-shrink-wrapped-killer-app, but 
rather it's just a proof-of-concept testing tool.  So I don't need many 
spiffy features of SDL or environment handling, etc.

When I send the test app out for others to use, I really just wanted a 
.ZIP file with the app and the SDLxxx.DLL files.  Now by statically 
linking, I don't have to worry about excess VS2005 baggage.

So far, with my statically-linked app, it and SDL is working fine 
together and I haven't run into any issues at all.  I am being careful 
not to "cross-pollinate" memory handling in that my app's new/deletes 
are self-contained, and stuff allocated within SDL is also freed within 
SDL (like SDL_FreeSurface(), SDL_FreeRW(), etc).






More information about the SDL mailing list