I compiled a program using VC++ pro. I use "depends.exe" to determine
what DLLs the program is linking. Then I use the Install Shield that
comes with VC++ to create a setup file. I run the setup file on my
pc(XP) and it works great. My problem is that when I try to install it
on any* other system, the install goes fine but when I try o run the
program Nothing happens. I double click and I don't see an error, the
thing just doesn't do anything! This is very frustrating as you can
imagine. So, if any one has had this problem in the past or if you just
have a suggestion, Please let me know...
Thanks
-Zak
*Any system that does not have VC++ installed
David Lowndes - 29 Mar 2005 22:31 GMT
>I compiled a program using VC++ pro. I use "depends.exe" to determine
>what DLLs the program is linking. Then I use the Install Shield that
[quoted text clipped - 3 lines]
>program Nothing happens. I double click and I don't see an error, the
>thing just doesn't do anything!
Does it start running and hang, or does the process not start - check
with Task Manager.
If its not starting at all, have you checked your program with Depends
on the system you've installed it on?
Dave

Signature
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Zachary Ainsworth - 30 Mar 2005 15:06 GMT
The process dosn't even start... But I'll try what you said about using
depends on the system I'm trying to run it on.
Thanks
-Zak
Severian - 29 Mar 2005 23:31 GMT
>I compiled a program using VC++ pro. I use "depends.exe" to determine
>what DLLs the program is linking. Then I use the Install Shield that
[quoted text clipped - 5 lines]
>imagine. So, if any one has had this problem in the past or if you just
>have a suggestion, Please let me know...
Be sure it's a release build and you're distributing the release
lirbaries. The debug libraries may have additional non-evident
dependencies.
You can use remote debugging to watch it start up on another machine;
search for "remote debugging" at msdn.microsoft.com for instructions,
since I don't know what version of VC++ you're using.
--
Sev
Zachary Ainsworth - 30 Mar 2005 15:08 GMT
I did make sure that it is a release build. But what do you mean by
"release
lirbaries"??? I will try the remote debugging... BTW, i'm using Visual
C++ 6.0 Pro...
Thanks
-Zak
Severian - 30 Mar 2005 16:46 GMT
>I did make sure that it is a release build. But what do you mean by
>"release
>lirbaries"??? I will try the remote debugging... BTW, i'm using Visual
>C++ 6.0 Pro...
For example (IIRC), MSVCRT.DLL is the release C runtime DLL;
MSVCRTD.DLL is the debug.
--
Sev
Zachary Ainsworth - 30 Mar 2005 19:23 GMT
Then yes... I do have the right one... MSVCRT.DLL