Original Post
Hi, I am working on a game for Smartphone/PocketPC, and I'd like to be able to distribute it as a single EXE, so that if someone sends the game to their friend or something, they can just send the program without any worries. (No errors about missing files or something) Up til now, all the code for my game has been written from scratch (no external libraries), but recently I converted my graphics code to using a library called GAPI, so I have to link to some Gx.dll file. Since I want to have just one file- the EXE itself- this is bad :) So, does anyone know if there is any good option here? Is it possible to force the compiler to link in the DLL statically so that I don't have to distribute it as a separate file? The DLL file is only 8k in size, so if there is any way to link it in directly, or perhaps include the DLL file in the EXE as a resource and then load the DLL from a resource at run-time, it would be good... Thanks very much, hope my post is not too confusing :) roos