This works too~~
Start by Downloading the Setup program
here (link may change never know with MS). Install it.
Download SDK files from
here Install It.
Open VC++ 2005 Express and from the Tools drop down menu select options.
Expand the "Projects and Solutions" tree and select VC++ Directories
In the right window from the "Show Directories for" drop down menu select the follwing items and add the paths below:
Executable files: C:\Program Files\Microsoft Platform SDK\Bin
Include files: C:\Program Files\Microsoft Platform SDK\include
Library files: C:\Program Files\Microsoft Platform SDK\lib
Alternately, you can double click on the existing Microsoft Platform SDK references that VC Express installed and edit them to point to the path you installed your Microsoft Platform SDK to.
Either way, you want only one reference to the MS Platform SDK for each item. You should remove any duplicate references to a Microsoft Platform SDK directory.
Make sure the directories you just entered are at the top of the list. If not use the Up or Down arrows to put them in the correct order.
If you installed using defualt directories navigate to C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults and edit corewin_express.vsprops using notepad.
Change AdditionalDependencies="kernel32.lib" to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
Next navigate to C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\ and open AppSettings.htm in notepad and comment out lines 441-444 like this:
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;
Open VS2005 Express and from the file menu select New Project. Expand the Visual C++ node in the Product Types tree and then click Win32. Click on the Win32 Console Application template and then give your project a name and click OK. In the Win32 Application Wizard dialog box, make sure that Windows application is selected as the Application type and the ATL is not selected. Click the Finish button to generate the project.
As a final step, test your project by clicking the Start button in the IDE or by pressing F5. Your Win32 application should build and run.
Now for actual MQ2 compiling
Open VS2005 Express (duh) select Open Project/Solution and select the .sln file from the folder you have extracted your MQ2 zip file. It may likely ask you if you want to update the files, you will say yes. Right click MQ2Main from the left tree and select "Set as StartUp Project" Right Click again and go to properties. Under the C\C++, Code Generation Section you will have to turn Enable C++ Exceptions to No. Then right click again and select build.
It should "hopefully" build with no errors. Next select Batch Build from the Build drop down menu. In the window select all plugins to compile. Then click build!
Some warnings may arise, but so far no word on any problems being caused by them.
This information is from
here under Compiling with VS2005 Express.