enforce()?

Sean Kelly sean at invisibleduck.org
Mon Jun 21 11:21:58 PDT 2010


Rory McGuire Wrote:
> 
> I think perhaps you mis-understood, it is mostly not stupidity that causes  
> people to use
> undocumented "features" of an API but rather, it is people being overly  
> "clever".

Or sometimes simply desperation.  There are some classes of apps that require the use of undocumented API calls to operate on Windows--I believe disk defragmenters are one example.  Microsoft rightly didn't document these calls because it wasn't prepared to support them long-term, but in doing so they also prevented users from doing necessary work and effectively forced them into using API calls that might change unexpectedly.  I think these users accept this problem and do the necessary verification and updating when new OS revisions are released however.


More information about the Digitalmars-d mailing list