Recently in calling an SDK to debug a motherboard for Dpio.
But the compiled program on the development of the computer run no problem, to the new motherboard built on the computer system on the problem.
Summed up the next to pay attention to a few aspects.
1: There is no problem with the program itself. At least in the development of the computer system environment to run up. It's not much to say.
2: The program depends on the file to have, such as the DLL to be called in the correct directory.
3:c++ Run library. This is not the same as what is needed for different versions of studio development. But there is an easy way.
A, in the use of the VS icon you developed, properties-"Open the file location."
B. Locate the following directory C:\Program Files (x86) \microsoft Visual Studio 8\sdk\v2.0\bootstrapper\packages (I take VS2005 as an example)
This directory has the following files:
The EXE in the Vcredist directory here is the desired C + + runtime. are divided into 64 and 32 bits. So on the new computer only need to install the version you need is OK.
Finish..
A program about C + + compilation cannot run a summary on a new computer