Normally, if you want to work with SDL with Visual Studio (be 6.0 or 2005), you have to:
- Create a "Win32 application" empty project
- Add the SDL.lib and SDLMain.lib library to your project
- Set the runtime library as "Multithreaded DLL"
You also need the SDL.dll file to be in your project directory or in windows/system32/, but this wouldn't cause any linking error, only runtime error.
And then, well, you start working with this
And it should work just fine.
int main(int argc, char *argv)