> No, it is set to "Windows" (see the VisualC2010 project files), but
> see also my other post why it works nevertheless.
Yes, indeed, every test except mine has the "Windows" flag. :(
But the WinMain() is only an entry point into the program. I suggest
that fltk.lib has some function which was declared (explicitly or
implicitly) as entry point and linking with it helps to workaround
this problem.
I've done simple thing: main() function was changed (in my simple
project linked with fltkdll.lib only) by such way
int xmain(int argc, char* argv[])
{
Fl_Window* w = new Fl_Window(100,100);
//bla-bla-bla
return 0;
}
And I set the entry point as "xmain"
Properties->Linker->System->SubSystem="windows"
Properties->Linker->Advanced->Entry point = "xmain"
All OK! Size of working program 4K :-)
Nikita Egorov
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk