On Saturday, November 29, 2003, at 07:17 AM, Alain Pastor wrote: > > > Pete Beaumont wrote: >> Anyone else here using the record declarations from Alain's >> MoreFilesX For FB ? >> I think I ran into a problem using CInfoPBRec & HParamBlockRec. >> After I changed the QElem references to POINTERs my code started to >> settle down. >> Anyone else noticed anything similar ? > > Pete, > > I'm using HParamBlockRec in QuiXample and I didn't notice anything > wrong AFAIK. > > In Tlbx MoreFilesX.Incl, QElem is defined as a PTR except in a couple > of records where it is defined as QElemPtr (only Lord knows why). The > latter being declared like so: > > #Define QElemPtr As Pointer To QElem > > In fact, we cannot define a typed pointer in that way, so it should > have been: > > #Define QElemPtr As Pointer // To QElem > > > However, I'm not sure that that should make a difference, maybe > someone can tell. > > > Alain For me it did make a difference when I use PBGETCATINFOSYNC. PBGETCATINFOSYNC failed if: > DIM QElem As QElemPtr was defined in records... Pete... (the other one) "No Vatican. No Taliban."