Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: jcheng3305 on April 09, 2010, 03:17:07 pm

Title: .exe file doesn't work on other machine
Post by: jcheng3305 on April 09, 2010, 03:17:07 pm
I complied an .exe file that worked on my computer.  But, I passed to other computer.  It showed an error that the .exe file did not work as no glu32.dll is not installed in.  How can it be fixed so that any complied .exe file can work on any machine?  Tks.
Title: Re: .exe file doesn't work on other machine
Post by: stahta01 on April 09, 2010, 03:44:35 pm
You fix this by being a knowledgeable Windows programmer.

A partial list of things.

Do not use DLLs that you are not going to ship with your exe.
The exception is known system DLLs.

Learn to use a DLL walker to confirm above.
http://www.dependencywalker.com/faq.html

Read sites that supports learning Windows and Basic C/C++ Programming. This is NOT such a site.

Note, this is NOT a valid Code::Blocks topic; thread is likely to be locked.

Tim S.