Re: Windows stuff...
- Posted by "Wolf" <wolfritz at king.igs.net> Sep 13, 2004
- 469 views
> If such a standard API-library would be made, the constants should have a > prefix, to reduce the chance of possible naming conflicts. > Win32Lib uses x as a prefix (xSetVisible, ...) for functions, but no prefix > for constants and structures. Perhaps it would be good to prefix all definitions. > I suggest 'api' as prefix, unless someone can find a better prefix (or > multiple prefixes). > Examples: apiSetVisible, apiWM_PAINT, ... Oh yes, that's what we all want, ...more typing,typing,typing ! Bad enough that win32lib already has w32 in front of everything just because one, ( yes 1... if I recall ! ), person didn't want to change his little 'wrapper'. Since old code wouldn't 'include' your new API-library anyways, where would the conflict be? Haven't seen watcomWM_PAINT, or borlandWM_PAINT anywhere....