> Well, after messing around for a while, I found out that the
> order I do things make no difference. The problem is (as you
> suggested) the WinMain line. Now I have that annoying DOS box
> appearing, but that is something I can get around.
Is that not just the old "/SUBSYSTEM:WINDOWS" option to the linker?
I've pretty much abandoned the MS tools these days (mingw is so much
easier for building WinXX code I find!) but ISTR...
<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>
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk