vcbuild my.vcproj /r "Debug"
Archive for the 'visual studio' Category
deploy vc++ 2005 executable
If you want to deploy a VC++ 2005 executable on a computer that doesn’t have VisualStudio installed, or the Visual C++ Redistributable Package, copy from the following folder of your VisualStudio’s installation:Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\ everything, in the same directory as your executable.
Basically, put these files:
- Microsoft.VC80.CRT.manifest
- msvcm80.dll
- msvcp80.dll
- msvcr80.dll
I needed to see the commands used by Visual Studio to build a project, so I asked a question on StackOverflow. Apparently, my question was a duplicate of another question. The accepted response of the other question was very good.
You need to set the Suppress startup banner to no. This option can be found in your project’s properties, under the General -> C/C++
I had to install Visual C++ Express, the 2005 version, in order to take a look at some windows code. The thing is, by default, you can’t write “windows-specific” code with it. It wouldn’t find windows.h.
After some googling, I found out that I needed to install Microsoft Platform SDK … which I did, but then I kept receiving linker error messages like this one :
unresolved external symbol __imp__DestroyWindow@4
Googling some more, I found out the solution for it here. Long story short, you need to modify the corewin_express.vsprops and include the additional libs.