Mike Unger wrote: > I tried running Dependency Walker. It did find two dlls that are missing but > it says they are missing for the working executable too. >
Do you have calls to LoadLibrary()? That would be a good indication of loading DLLs, although it will not necessarily make an application fail. You can have optional libraries, which if present will enable additional functionality (think plugins) but are not core to the application. You could try stepping through with a debugger as well. If possible, try to step into the code that runs before WinMain(), which sets up your static variables, establishes links to static libraries, initializes globals, etc. -- John Gaughan http://www.jtgprogramming.org/