Not sure if my idea will help since you use CodeWarrior and I use GCC, but
when I get problems like this where a form won't load, I run it through
Pilrcui.exe to verify that there are no basic syntax errors in my forms
header file or the resource files they call.

> -----Original Message-----
> From: Neil Rhodes [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 10, 1999 11:01 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: FormPtr problems STILL! Please Help.
> 
> Philip,
> 
> I always try to simplify as much as possible when tracking down a bug.
> What
> about commenting out the entire call to RecordFormInit?
> 
> > It is a button object. but I have recently commented out the code that
> gets
> the
> > button object and now the program  dies in the forms event loop.
> >
> >   case frmOpenEvent:
> >
> >        RecordFormInit();
> >        frmP = FrmGetActiveForm();
> >        FrmDrawForm ( frmP);   <---------------- Dies right here..
> >        handled = true;
> >        break;
> >
> >
> > So this little annoying problem has nothing to do with the control I
> think.
> This
> > for just does not react kindly to be pointed at! I can't seem to get a
> valid
> > pointer to it... ugh.
> > day 3 and I still have no clue where to begin. I could completely
> recreate
> this
> > form.. *but* it has a lot of work in it and I'd rather not.
> >
> > Thanks again,
> >
> > Philip J.
> 
> 

Reply via email to