EXE will not start

  • Thread starter Thread starter Zak
  • Start date Start date
Z

Zak

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
 
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!

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
 
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...

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.
 
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
 
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
 
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.
 
Back
Top