Please post to the mailing list, if you only post to me and i answer you with a 
misstake, no one will be able to correct me :)

> thank you very much for your quick response. I just tried with a "viod" 
> instead and it works fine now.
You shouldn't use void as your main arguments for two reasons:
- If it compiles right now, it might only because the compiler changes the 
arguments of your main to match the ones expected by your target platform.
- If later you require your application to take arguments (Like most of the 
apps / tools you can find around, for example when you create a file 
association, and click on a text file, your text editor is launched with the 
file name as an argument), then you should consider directly writing it 
correctly.

Pierre.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to