How to make a working Cocos2d-x Windows game working on other computers

Hi,

I have a problem with making working game on the other computer on Windows. I use Visual Studio 2010 in Windows 7 to build and compile the project. The game works when I click the .exe file (adding before some .dll files to the folder) on my computer with Windows 7, but when I try to run it on Windows XP SP2 on other computer it doesn’t work. I use Release mode, not Debug of course. (I tried the other game - from this site - Tetris and it worked on the computer with Windows XP SP2)
Please, help me with this problem.

Has vs2010 Redistributable Package installed on WinXP PC ?
If not, have a try.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84

Thanks, it worked! :wink: But I think about how the Tetris from this website has been created… I didn’t install Redistributable Package in the past and Tetris worked without it on my other computer.

Read the following page, it goes into detail about linking dynamically and statically to the C runtime libraries:
http://msdn.microsoft.com/en-us/library/abx4dbyh(v=vs.80).aspx

The method does not work on Windows 7 64 bit
I tried to install the package but it still failed. (http://www.microsoft.com/download/en/details.aspx?id=14632)

And I google and see if any others could help. I follow the guide below and see whether we could solve the issue but the project solution cannot compile
http://www.buggymind.com/305