|
|
Home » Community » Coffee corner » Which is the biggest drawback of U++ "unpopuliarity"?
Re: Which is the biggest drawback of U++ "unpopuliarity"? [message #16478 is a reply to message #16472] |
Tue, 17 June 2008 13:46 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
royalstream wrote on Tue, 17 June 2008 03:55 |
I'm sure the GUI_APP_MAIN macro is awkward enough to scare away some curious newbies. Keep in mind "GUI_APP_MAIN" is about one fifth of what they see when the look at your Hello World's source code.
|
Well, it is not very nice indeed, but one has to consider the only possible alternative:
#ifdef PLATFORM_WIN32
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR, lpCmdLine, int nCmdShow) {
InitWin32(hInstance, lpCmdLine);
#else
int main(int argc, const char **argv, const char **envptr) {
InitPosix(argc, argv, envptr);
#endif
That is why GUI_APP_MAIN was introduced.
Mirek
P.S.: Concerning macros, I think it is good idea to avoid them when possible. Anyway, if they can avoid repetitive tasks (and that way often bugs too), I am not the one to avoid macros just because they are "ugly".
[Updated on: Tue, 17 June 2008 13:50] Report message to a moderator
|
|
|
|
|
Which is the biggest drawback of U++ "unpopuliarity"?
By: fudadmin on Wed, 07 December 2005 21:02
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: Garry on Sun, 08 January 2006 16:29
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: fudadmin on Sun, 08 January 2006 16:51
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: prof on Tue, 25 April 2006 05:41
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: riri on Tue, 25 April 2006 09:13
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: fudadmin on Tue, 25 April 2006 09:29
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Tue, 25 April 2006 09:32
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: riri on Tue, 25 April 2006 09:43
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: fudadmin on Tue, 25 April 2006 10:57
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Tue, 25 April 2006 09:50
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: riri on Tue, 25 April 2006 11:03
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: pivica on Thu, 27 April 2006 09:29
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: prof on Thu, 27 April 2006 21:07
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Thu, 27 April 2006 21:17
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: prof on Thu, 27 April 2006 22:19
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: unodgs on Thu, 27 April 2006 22:56
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: prof on Fri, 28 April 2006 00:34
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Fri, 28 April 2006 00:55
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: prof on Fri, 28 April 2006 01:22
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: cioannou on Wed, 25 October 2006 14:01
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Wed, 25 October 2006 14:25
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: cioannou on Wed, 25 October 2006 14:43
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Wed, 25 October 2006 14:56
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: cioannou on Wed, 25 October 2006 15:48
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: richardt on Thu, 26 October 2006 22:24
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Fri, 27 October 2006 01:36
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: richardt on Fri, 27 October 2006 10:39
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Wed, 25 October 2006 14:59
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: yeohhs on Wed, 25 October 2006 18:11
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: forlano on Wed, 25 October 2006 18:53
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: yeohhs on Sat, 28 October 2006 09:35
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Thu, 26 October 2006 01:07
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: yeohhs on Thu, 26 October 2006 01:55
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: cioannou on Thu, 26 October 2006 15:42
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: forlano on Wed, 25 October 2006 19:07
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Fri, 28 April 2006 00:39
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: forlano on Thu, 27 April 2006 21:59
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: yeohhs on Fri, 27 October 2006 11:23
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: agent86 on Mon, 25 December 2006 04:12
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: agent86 on Thu, 04 January 2007 08:17
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Sat, 19 July 2008 19:56
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Tue, 22 April 2008 14:44
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Fri, 25 April 2008 13:52
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mr_ped on Sat, 26 April 2008 03:23
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Sat, 26 April 2008 08:13
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Sat, 26 April 2008 08:11
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Sun, 27 April 2008 16:31
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: Novo on Sun, 27 April 2008 18:26
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Sun, 27 April 2008 18:49
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: unodgs on Tue, 17 June 2008 10:28
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Tue, 17 June 2008 13:46
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: Didier on Sun, 30 November 2008 23:09
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Sun, 30 November 2008 23:41
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: Didier on Thu, 04 December 2008 20:48
|
|
|
Re: Which is the biggest drawback of U++ "unpopuliarity"?
By: mirek on Thu, 04 December 2008 23:27
|
Goto Forum:
Current Time: Sat Apr 27 01:36:18 CEST 2024
Total time taken to generate the page: 4.02771 seconds
|
|
|