Re : SDL and VS.NET

<Hi!
<I can’t get SDL to work with Visual C++ .NET.
<I’ve used SDL with Visual C++ 6.0 and under linux for a year without
<problems, but now it won’t work. I’ve followed the instructions in
<VisualC.html that comes with the latest SDL dev package for win. I’ve
added <the include and lib paths and I’ve told it to use SDL.lib and
SDLmain.lib. <I’ve told it to be Multi-threaded DLL. I have a main.cpp
as the only file <in my “New Project -> Visual C++ Projects -> Managed
C++ Empty Project” <(“Win 32 Project” creates a lot of files, I want to
start with a empty <project) which containes the following:
<
< #include “SDL.h”
<
< int main( int argc, char* argv[] )
< {
< // Body of the program goes here.
< return 0;
< }
<
<I get the following when I try to build the solution:
<
< fatal error LNK1561: entry point must be defined

The missing entry point means that you have to have an object containing
the entry point.
The old C-fashioned way won’t work with Managed Extensions.

Regards,
Sebastian Porstendorfer
lucem at gmx.de