In our previous episode, [email protected] 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 - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
