Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2005

Tip: Looking for answers? Try searching our database.

EXE will not start

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zak - 29 Mar 2005 20:48 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
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.