- - 2008-09-02

I hope this helps anyone who tries to use Visual Studio Express 2005. One of the major problems for me so far has been to build and use QT.

The instructions assumes that the plattform SDK has been installed.

First an environment variable must be set in order to later compile IVT-projects that needs to call QT-tools. For me that was:


I built QT from the command promt provided with Visual Studio Express using the batch commands, however the
plattform SDK location is not set there and must be appended to the shell:

set INCLUDE=%PATH%;"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include"
set LIB=%LIB%;"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib"

After building the qt-mt3.dll its manifest must be embedded in the DLL.

mt.exe –manifest qt-mt3.dll.manifest -outputresource:qt-mt3.dll

Now I copied the qt-mt3.dll to the working directory of ShowImageQT. I also needed to copy msvcm80.dll, msvcp80.dll, msvcr80.dll to the same location.

Still the ShowImageQT failed to execute, the PE-loader emitts a R6034 fault.

I changed the ShowImageQT Project properties::C/C++:Code Generation:Runtime Library to
Multi-threaded DLL.

After these operations ShowImageQT could be run without faults.