Danny Backx napisaĆ(a): > On Wed, 2007-09-05 at 12:15 +0200, [EMAIL PROTECTED] wrote: > > I want to contribute new file trunk/cegcc/src/w32api/include/connmgr.h > > We have to be prudent with this type of submission for copyright > reasons. > > That is the reason why I>#039;d like to know where you obtained the > information to write this include file. > > An example of a "good" source of info is e.g. MSDN (publically available > documentation); an example of a "bad" source would be an include file > from Visual C++ or so. > It be honest function definitions and structures from MSDN ,constant definitions from Visual C++. Please tell me what is good source of info of constant definition ? Take a look at file trunk/cegcc/src/w32api/include/commctrl.h : lines 789- : #define SB_SETTEXTA (WM_USER+1) #define SB_SETTEXTW (WM_USER+11) #define SB_GETTEXTA (WM_USER+2) #define SB_GETTEXTW (WM_USER+13) #define SB_GETTEXTLENGTHA (WM_USER+3) #define SB_GETTEXTLENGTHW (WM_USER+12)
commctrl.h from Visual C++ lines :1670- #define SB_SETTEXTA (WM_USER+1) #define SB_SETTEXTW (WM_USER+11) #define SB_GETTEXTA (WM_USER+2) #define SB_GETTEXTW (WM_USER+13) #define SB_GETTEXTLENGTHA (WM_USER+3) #define SB_GETTEXTLENGTHW (WM_USER+12) The only difference is number of spaces between name and value .Order is the same .In both cases constants are relative to WM_USER.There is a lot of such examples. So you have to remove 95% of code. Good luck. Maciek Kaliszewski ---------------------------------------------------------------------- Zawody najlepszych barmanow Ryga, Fashion Club Zobacz >>> http://link.interia.pl/f1b9b ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel