Re: Windows stuff...

new topic     » goto parent     » topic index » view thread      » older message » newer message

> 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....

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu