[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

Problems running executables on other machines

We are getting near time that we are going to release our product. We have started to test our executable in debug by putting it on other machines. Depending on what machine we put it on, we get a plethera of different problems. To run it on another machine, we are just taking the executable and dropping it on the other machine. We have no other DLL's of out own. Should this work? It seems like it depends on what DLL packages are on the machine we drop the executable onto. If it is a machine that has DevStudio on it, the executable most of the time works. Is there a way to somehow compile and deliver the standard DLL's so that we don't have errors depending on what machine the executable is working on?
0
cman112398
Asked:
cman112398
1 Solution
 
leflonCommented:
use "link mfc in static library" in your project\settings\general.
this should avoid errors with wrong mfc and msvcrt dlls.
0
 
naveenkohliCommented:
USe DEPENDS utility and check what all DLLs ur application depends on. And make sure that those DLLs are present on that machine too. If not then install those DLLs.
0
 
cman112398Author Commented:
thanks- so about those dll's... how do I install them? Are they located somewhere in the VC++ structure? And Depends utility, is that something that comes with VC++?
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
chensuCommented:
Take a look at the Redistri.wri on the Visual C++ CD or the following article.

Redistributing Microsoft Visual C++ 6.0 Applications
http://msdn.microsoft.com/library/techart/redistribvc6.htm
0
 
cman112398Author Commented:
Good answer... saved the day.
0
 
chensuCommented:
Thank you.

How come my comment about Depends is gone?

"Depends comes with Visual C++ or the Platform SDK."
0
 
cman112398Author Commented:
Hey chensu- did they rob you on this one? I had it for 50 points and it is showing at 5...

(thanks for the additional info)
0
 
chensuCommented:
Once a question becomes a Previously Asked Question (PAQ), its points become 10% of the original points.

>did they rob you on this one?

I fighted them back. :-)
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now