Program runs on two computers, not on third

I wrote and compiled a program on a Windows XP 32-bit computer. I then tried to test it on another computer, which didn't work. I then realized this computer was 64-bit, so I sent the code to the second computer and recompiled it there. The program now works. However, should I send either version to a third computer (XP64), it doesn't work, giving the same error as the previous one ("incorrect application configuration").

I am using the Boost Library, but that shouldn't change anything, given how the problem occurs post-compile.

... Help?

EDIT: It's worth mentioning that after installing VC++ on the second computer and recompiling the code, both the "64-bit" and the "32-bit" versions of the program work just fine on it. None, however, work on the third computer.
Last edited on
Was it Windows XP 64-bit? or some other OS? I think there is a 32-bit shell in Windows XP 64 but I'm not %100
All computers involved are XP. The first was 32-bit, the other two were 64.
Last edited on
uhm.. runtime library? im not sure..
Either you're missing the VC++ runtime library, or the Boost library you're using has dynamic dependencies (i.e. DLLs).
Probably the former.
Murphy's law: proven again.
I like the sound of that, but have no idea how to check it out.

The third computer doesn't have VC++ installed (doing so now), but I have a feeling that once it does, everything'll work fine. Which makes absolutely no sense, as far as I know.

EDIT: I've installed the Boost libraries onto the third computer already (given how Boost is 'different,' I thought it might have some effect) but that didn't work.

And should installing VC++ work, that's just going to be a problem. I can't expect my 800kb program to have a VC++ overhead.
Last edited on
yeah i guess it's runtime library.. both are 2 computers have visual studio installed right? and the 3rd does not, i guess it's the runtime library..

but have you compiled the program in release build? try compiling the program as release build first, maybe it is compiled as debug build.
I don't know how to make a release build >.>
I've installed the Boost libraries onto the third computer already (given how Boost is 'different,' I thought it might have some effect) but that didn't work.
That's not enough if the program does depend on DLLs. The libraries have to be in a directory found in the PATH environment variable.
Last edited on
Nevermind. I found another website that had the same instructions and now it works.

blackcoder, if you weren't a guy (in this forum, I think that's a fair assumption), I'd kiss you.
why would you kiss me? LOL
Because you fixed the program, man! And if that isn't worth a kiss, I don't know what is!
Well, other than the 'man!' part.
I lol'd so hard then I almost pee'd a little.
This forum can be quite scary at times.
Topic archived. No new replies allowed.