In our previous episode, nore...@z505.com said: > > And sometimes API don't adhere to above statement, and then having > > chosen > > the right boolean type (longbool or boolean<x>) saves a lot of trouble. > > Another option is to write BOOLEAN wrappers around the lower level > functions that interface in to the DLL > So for example, could even use an INTEGER, as the boolean, as the Jedi > fellow sometimes does, then write a wrapper around it that makes use of > a proper boolean. All this, though, is a headache and obnoxious, tedious
I think doing this systematically introduces more mistakes than it solves, since all that manual work also has a risk at errors. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal