enforce()?
Don
nospam at nospam.com
Mon Jun 21 14:07:59 PDT 2010
Sean Kelly wrote:
> 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.
Remember Windows 3.0? File handling involved undocumented API calls!
More information about the Digitalmars-d
mailing list