Need to create a redistributable package for my demo, help
Hi
I created a demo and would like to post it for everyone to play around, but when someone else downloads all my demo files, launches the exec, it complains and crashes, presumably due to missing dlls
I use MS VC++ 6.0, what is the best way/tool to create one package (like an installer) that would have all the necessary files (like dlls) for the project to run?
Thanks
Alex
Put all the required .dlls in the same directory as your .exe. You can then zip everything together.
See also:
http://www.gamedev.net/community/forums/topic.asp?topic_id=316233
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp
See also:
http://www.gamedev.net/community/forums/topic.asp?topic_id=316233
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp
If you have VC6.0 you might have a tool called Dependancy Walker*
(Typicaly Start > Programs > Microsoft Visual Studio 6.0 > Tools > Depends)
This will show you a tree with all the load time DLLs your EXE is linked to.
(*Might only be avalible in higher editions like pro)
(Typicaly Start > Programs > Microsoft Visual Studio 6.0 > Tools > Depends)
This will show you a tree with all the load time DLLs your EXE is linked to.
(*Might only be avalible in higher editions like pro)
If you use DirectX, we need the DX version you have. If you use OpenAL, same thing, OpenGL, smae thing, Windows API, MAYBE the same thing. You know what your program uses, or you should anyway. What kind is it.
Make sure to compile in 'Release' mode.
Build->Set Active Configuration->'[Your Project] Release'
Build->Set Active Configuration->'[Your Project] Release'
Thanks a lot guys
I will look into your suggestions
I use OpenGL (latest drivers from ATI) and VC++ 6.0
Alex
I will look into your suggestions
I use OpenGL (latest drivers from ATI) and VC++ 6.0
Alex
Quote:Original post by ababkin
Thanks a lot guys
I will look into your suggestions
I use OpenGL (latest drivers from ATI) and VC++ 6.0
Alex
If you can fix your VC6 .dsp file, you to won't need the VC6 runtime dlls. Try creating a new project, and make sure it never has the VC6 runtime dlls enabled (and has MFC disabled). Backup your demo .dsp file, and open your demo .dsp file and the new one just created using Notepad. Compare the two files and make sure that they do the same thing WRT settings.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement