Doomulation said:
How do you do win32 stuff in this IDE?
First, download the
Platform SDK, if you don't already have it.
Next, navigate to the directory that you installed VC in (Program Files\Microsoft Visual Studio 8). Go to \VC\vcprojects\Win32. Open "win32.vsdir" with notepad/wordpad. Add this line:
Code:
..\Win32Wiz.vsz|{1B027A40-8F43-11D0-8D11-00A0C91BC942}|#1171|1|#1172|{1B027A40-8F43-11D0-8D11-00A0C91BC942}|0|4096|#1154
Now, go back to \vcprojects\. Either copy win32console.vsz (new file name: win32wiz.vsz) and edit it with Notepad/Wordpad, or create a new file entitled win32wiz.vsz and paste the following in and save:
Code:
VSWIZARD 7.0
Wizard=VsWizard.VsWizardEngine.8.0
Param="WIZARD_NAME = Application"
Param="RELATIVE_PATH = VCWizards\AppWiz\Generic"
Now, navigate to \VC\VCWizards\AppWiz\Generic\Application\scripts\1033. Open "default.js."
Now, copy the following section after the if(strAppType == "CONSOLE") statement:
Code:
if (strAppType == "WIN")
{
var config = selProj.Object.Configurations("Debug");
var LinkTool = config.Tools("VCLinkerTool");
LinkTool.AdditionalDependencies = "user32.lib";
config = selProj.Object.Configurations("Release");
LinkTool = config.Tools("VCLinkerTool");
LinkTool.AdditionalDependencies = "user32.lib";
}
Make sure that your include/library directory lists contain references to the Platform SDK include/lib directory. You should be able to create Win32 applications now in the Solution window, and compile them. I know there are other default libraries that need to be added, but I can't remember what they are, and haven't found them while looking on Google. If someone could post a list of them, I would appreciate it.
I think you could add the icon for DLL projects if you wanted to; it's included with that Win32 wizard.
I guess you could add MFC and ATL in if you wanted, but I don't know the required libraries/have the wizards from a previous version to look at (.net 2002 is too different for the scripts to work).