Re: Compiling under Windows using MSCV
- Date: Wed, 30 Apr 2008 16:55:30 +0300
- From: "Dov Grobgeld" <dov.grobgeld@xxxxxxxxx>
- Subject: Re: Compiling under Windows using MSCV
Another option is to define the following function:
#if WIN32
int __stdcall WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow
)
{
char *argv[1];
argv[0] = "foo";
int argc = 0;
return main(argc, argv);
}
#endif
2008/4/30 Carlo <onetmt@xxxxxxxxx>:
oscar pablo di liscia ha scritto lo scorso 30/04/2008 01:06:
> Im am trying to compile GTK applications using MSCV 6.0.> _WinMain@16 <mailto:_WinMain@16> unresolved external
> I downlodaded and instaled all the GTK packages. When I
> try to compile a simple sample project everything seems fine until
> this error pops up:
> I don´t have this problem compiling with Mingw.Not sure, but it could be a problem related to the kind of project you
creted in MSVC; try to set it to "console application".
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list
- Follow-Ups:
- Re: Compiling under Windows using MSCV
- From: Tor Lillqvist
- Re: Compiling under Windows using MSCV
- References:
- Compiling under Windows using MSCV
- From: oscar pablo di liscia
- Re: Compiling under Windows using MSCV
- From: Carlo
- Compiling under Windows using MSCV
- Prev by Date: Re: gtk1.2 and gtk2.0
- Next by Date: Re: Compiling under Windows using MSCV
- Previous by thread: Re: Compiling under Windows using MSCV
- Next by thread: Re: Compiling under Windows using MSCV
- Index(es):