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?
cman112398Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.