Re: Compiling under Windows using MSCV
- From: "Tor Lillqvist" <tml iki fi>
- To: "Dov Grobgeld" <dov grobgeld gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Compiling under Windows using MSCV
- Date: Wed, 30 Apr 2008 17:15:01 +0300
> char *argv[1];
> argv[0] = "foo";
> int argc = 0;
>
> return main(argc, argv);
Or even:
#include <stdlib.h>
...
return main (__argc, __argv);
__argc and __argv are set up by the C runtime at startup based on the
command line used to start the process even for WinMain programs.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]