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++ / July 2004

Tip: Looking for answers? Try searching our database.

run simple c++ exe on other system????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Miguel - 12 Jul 2004 21:56 GMT
I have a simple c++ program I just wrote with VC 6.0.  I want to run this program on another machine, but it just locks up.  What do I need to do to run the .exe file that is created in the debug folder on a different system?

thanks
William DePalo [MVP VC++] - 13 Jul 2004 00:14 GMT
> I have a simple c++ program I just wrote with VC 6.0.  I want to
> run this program on another machine, but it just locks up.
> What do I need to do to run the .exe file that is created in
> the debug folder on a different system?

Well, do you have the development environment installed on the other
machine? Debug builds often use debug DLLs, if those DLLs are not present
the application should not run. I don't know why you have a lockup - perhaps
it is DLL hell (mismatch of application and DLL).

Note that I am specifically not addressing licensing issues - only you know
how many machines are licensed to run the compiler in your shop.

Regards,
Will
Abhinaba Basu - 13 Jul 2004 15:44 GMT
what do you mean by a simple application? Do you use MFC or any other
FrameWork or is it a place simple console application.

If you use frameworks like MFC then you would require to build the
application in release mode and then use it on the target machine. If you
use debug build then your application might use the debug versions of the
dll like say MFC42D.DLL  for MFC4.2 instead or MFC42.DLL. Dubug dlls are not
present on systems which does not have development tools like VC++
installed.

However, if the above case were true then you should not have got lockups in
your application. You should have seen popup error messages telling you that
the dll was not found. Try eliminating other problems like uninitialized
variables, eliminate all warning in your build and other similar things.

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.