On 17.01.2011 11:27, MacArthur, Ian (SELEX GALILEO, UK) wrote:

> <quote-from-msdn>
> Alternatively, you can use the following compile options, which also
> produces the expected behavior. Make sure that you use either main or
> wmain, depending on which character set is used.
>
> cl /clr sample.cpp /link /ENTRY:main /SUBSYSTEM:WINDOWS
>                               
> </quote-from-msdn>

FYI: I don't know the context of this quote, but for FLTK apps you
should probably not use "/ENTRY:main", because FLTK "does this for you"
(cited off the top of my head). This means that FLTK provides a
WinMain() function that calls main() with the correct arguments.

Albrecht
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to