Quote: "LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main"
There's the problem. Your project is being compiled as a debug console project. You need to switch to release mode and compile it as a windowed app. I don't know where the setting is in VS6, but in VS7.1, it's Properties->Linker->System->Subsystem, and needs to be set to Windows.
You can tell when you've got it right, as the linker command-line string will have '/SUBSYSTEM:WINDOWS' included somewhere in there ...
Oh, and it'll compile too