I have written a win32 VC++ application (in Visual Studio 2008) that uses winsock32, the windows SDK (I remember having to install this), and several open source libraries and DLLs. It runs fine on my machine (Win XP SP3), and if I copy all the files from my project Release folder into another folder on my machine it also runs fine. But when I copy those same files over to another PC (also running Win XP SP3, but without dev environment) and try to run it I get a message that says:
"The system cannot execute the specified program."
There is no other output.
I've looked around, but most comments around EE and the web seem to involve either users distributing debug builds (mine is release) or .NET apps without the .NET distributable (this is not .NET).
I've run dependency walker on it and see several missing DLLs, but they seem to be far down the dependency tree of winsock32.dll and I'm not sure if I should be searching around for those files to copy them over. (To be honest, I'm not sure if I understand what dependency walker is telling me anyway).
Could someone help me figure out how to figure out what is missing?
Edit: I added an image of the red dll modules from Dependency Walker.
LIBSASL.DLL (This is a dependency in libcurl)