|
From: Ben S. <bs...@vr...> - 2002-01-25 03:40:03
|
on the other hand, you could just add this code to your current project:
#ifdef _WIN32
#ifndef _CONSOLE
int WINAPI WinMain(
HINSTANCE instance,
HINSTANCE prevInstance,
LPSTR commandLine
int showCommand )
{
return main( __argc, __argv );
}
-----
Ben Scott
President ISU Game Developers Club
Treasurer ISU Ballroom Dance Company
bs...@ia...
On Thu, 24 Jan 2002, Ben Scott wrote:
> ahh, you probably created a new win32 project in VC++. Projects created in
> that manner actually start in the function WinMain( ... ) instead of
> main( ... ).
>
> the easiest way to fix this is to create a new "win32 console" project
> that will use main( ... ).
>
> cheers,
> -----
> Ben Scott
> President ISU Game Developers Club
> Treasurer ISU Ballroom Dance Company
> bs...@ia...
>
> On Thu, 24 Jan 2002, Andres Reinot wrote:
>
> > alright, I'm now getting this error:
> >
> > LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol
> > _WinMain@16
> > does this have anything to do with the GLUT libraries?
> >
> > And where's the source for the square example we did today?
> >
> >
> >
> > _______________________________________________
> > ISUGameDev-devel mailing list
> > ISU...@li...
> > https://lists.sourceforge.net/lists/listinfo/isugamedev-devel
> >
>
>
> _______________________________________________
> ISUGameDev-devel mailing list
> ISU...@li...
> https://lists.sourceforge.net/lists/listinfo/isugamedev-devel
>
|