|
-
July 23rd, 2008, 01:46 PM
#1
sharing exe's
Hi,
I just wanted to send a demo program of my Visual C++ application to a friend, (who isn't a programmer). In my first attempt, I copied all the DLL files I thought were necessary from my Windows/System32 folder, into the folder containing the exe, which i then zipped and sent.
After unzipping, my friend recieved the following message when trying to run the exe:
"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem"
Is that likely to be missing DLLs?
I tried running my application from my visual C++ editor (debug mode)
and it shows the following list of DLLs
Code:
'freetypesuccess.exe': Loaded 'C:\Documents and Settings\Rav\My Documents\Visual Studio 2008\Projects\freetypesuccess\Debug\freetypesuccess.exe', Symbols loaded.
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\glu32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\glut32.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'freetypesuccess.exe': Loaded 'C:\Documents and Settings\Rav\My Documents\Visual Studio 2008\Projects\freetypesuccess\Debug\glc32.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\Documents and Settings\Rav\My Documents\Visual Studio 2008\Projects\freetypesuccess\Debug\freetype6.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\Documents and Settings\Rav\My Documents\Visual Studio 2008\Projects\freetypesuccess\Debug\zlib1.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\Documents and Settings\Rav\My Documents\Visual Studio 2008\Projects\freetypesuccess\Debug\fontconfig.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\Documents and Settings\Rav\My Documents\Visual Studio 2008\Projects\freetypesuccess\Debug\xmlparse.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'freetypesuccess.exe': Loaded 'C:\Program Files\SiteAdvisor\6261\saHook.dll'
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\ialmgicd.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\ialmgdev.dll', Binary was not built with debug information.
'freetypesuccess.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll'
'freetypesuccess.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
I suppose I could just painstakingly dump all these into the same folder as the exe before sending it to my friend, but I believe that some of them may depend on system specific configurations.
So whats the professional way to handle this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|