#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