"Mike Davis" <[EMAIL PROTECTED]> wrote:
> // fldP is declared as FieldPtr
> // attrP is declared as FieldAttrPtr
> // fldXReg is ID of field
> // form is obtained with GetActiveForm()
> 
> case ctlSelectEvent:
>     fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldXReg));
>     FldGetAttributes(fldP, attrP);

Did you simply define attrP as FieldAttrPtr and do nothing else with it 
before calling FldGetAttributes? If so, where does attrP point?

You probably want something like:

FieldAttrType attr;
...
FldGetAttributes(fldP, &attr);

Have you tried stepping through your code with POSE and GDB? If you do, 
you will know exactly where your code is crashing.

--
Roger Chaplin
<[EMAIL PROTECTED]>

Reply via email to