Sign in to follow this  

can't use my programs on other machines?

This topic is 4273 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I batch build my apps from VS2005 I've received a "configuration error" on some machines I've attempted to install them on. Does this mean that .NET framwork 2.0 (which was installed alongwith) is required to run this apps? I also attempted to run an app on Win98 and received a missing .dll file, I assume these progs aren't compatible to win 9x period? Is there a special way to batch build? Or is everything fine. One weird thing is that the .NET framwork 2.0 was installed on a machine I tried to run and it still wouldn't. Completely lossed. Thanks -stealthgate

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I had the same problem, it was caused by the MSVC runtime libraries, msvcr80.dll. These libraries are installed with visual C++ express. There may be some redistributable package on msdn, or you can just try to copy the dlls to your program's directory.

Share this post


Link to post
Share on other sites
Try static linking, this is what I did.

In Project -> Properties -> C++ -> Code Generation, I believe.

Change the Runtime library to /MT instead of /MD.

No, it's not the best practice, but it works well, and builds a library-independent executable, to the best of my knowledge.

Share this post


Link to post
Share on other sites
Quote:
Original post by stealthgate
I'm not using c++ express, I have visual studio and assume the "fuller" version is being used. Is there a less complicated way of having it able to be executed?


if you're not using the express version then you already have the redistributables, but i don't remember which directory they're in. i'm still waiting for my copy of visual studio to come in the mail. [grin]

Share this post


Link to post
Share on other sites
Quote:
Original post by stealthgate
I found out that I needed runtimes after all, however I found them here:

http://faux.warwickcompsoc.co.uk/vcredist/

Thanks again you guys!


What are the chances, eh? You happened to find the files on the compsoc website of my very own university :)

Share this post


Link to post
Share on other sites
Quote:
Original post by hymerman
What are the chances, eh? You happened to find the files on the compsoc website of my very own university :)


nice work, heh?? j/k. thanks again guys, and for the further advice!

Share this post


Link to post
Share on other sites

This topic is 4273 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this