Creating a blank MSVC.NET project

There is no “simple” project in the list of availible projects to create using
Visual C++.NET - i need an empty C++ project without WinMain and others
win32-related things - how can i create a normal “int main()”-style project in
Visual C++ .NET?

What I do is make a new Win32 Console Project, and then when the Win32
Application Wizard comes up, go to the Application Settings tab (on
the left, it doesn’t look like a normal tab) and check the checkbox
for Empty Project.

Once the project is created, add the correct paths for the .h and .lib
files to your project (you may have to explicitly add the .lib files
themselves to your project).

If you have the SDL source package, there should be a zip file in the
main SDL directory called VisualC7.zip. This contains instructions on
setting up projects using SDL in MSVC .net, and should cover anything
I missed. (I made a blank one and got it working once, and just copy
and modify it every time I need a new one).

-JustinOn Mon, 18 Oct 2004 13:06:26 +0000 (UTC), Agafonov Vladimir wrote:

There is no “simple” project in the list of availible projects to create using
Visual C++.NET - i need an empty C++ project without WinMain and others
win32-related things - how can i create a normal “int main()”-style project in
Visual C++ .NET?

Do not forget to set your project to Multithreaded DLL in the compilation
options ( Multithreaded Debug DLL for the debug conf )

There is no “simple” project in the list of availible projects to create
using

Visual C++.NET - i need an empty C++ project without WinMain and others
win32-related things - how can i create a normal “int main()”-style
project in> On Mon, 18 Oct 2004 13:06:26 +0000 (UTC), Agafonov Vladimir wrote:

Visual C++ .NET?

What I do is make a new Win32 Console Project, and then when the Win32
Application Wizard comes up, go to the Application Settings tab (on
the left, it doesn’t look like a normal tab) and check the checkbox
for Empty Project.

Once the project is created, add the correct paths for the .h and .lib
files to your project (you may have to explicitly add the .lib files
themselves to your project).

If you have the SDL source package, there should be a zip file in the
main SDL directory called VisualC7.zip. This contains instructions on
setting up projects using SDL in MSVC .net, and should cover anything
I missed. (I made a blank one and got it working once, and just copy
and modify it every time I need a new one).

-Justin


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl