Hello, all:
We are using PB 6.5 running under Windows 95. We are having a problem with
a GPF that only occurs when running the app compiled in machine code.
P-code works fine. Our application uses the PFC and has 3 levels of
inheritance. Using the pbdebug info, we have traced the problem to the
command to close a response window (inherited from pfc_w_popup). The error
cites a posted function or event. Going up through the hierarchy, the only
posted function or event is in pfc_w_master, which we have not touched.
When the GPF occurs, we get an invalid page fault in PBVM60.DLL. The code
in our application is:
Open( lw_msg )
SQLCA.GENERATE_PIVOTCARDS( ll_event, ll_eventcnt ) <<< Calls a
remote procedure.
<<< This works fine.
SetPointer( ARROW! )
IF( IsValid(lw_msg) ) THEN
Close( lw_msg ) <<< Code GPF's here
// Allow windows to repaint
FOR ll_eventcnt = 1 TO 10
Yield()
NEXT
END IF
The window that lw_msg instantiates has a fair number of instance variables
which are themselves non-visual objects. We tried to put the Close( )
inside a loop to give the ancestors more time to destroy their instance
objects. So far, no luck.
If anyone has any thoughts or suggestions, they would be greatly
appreciated.
Thanks in advance for your help
Alan M. Israel
PIVOT Project Lead
Software Developer (Systems Development & Services)
office: 321-7364
e-mail: [EMAIL PROTECTED]
mailstop P10B
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]