This week i had two errors (code runs mostly without problems) :
Error description: Error BASE/1004 Class: 'NIL' has no exported method: HWND
Called from: => HWND( 0 )
Called from: .\source\classes\RPREVIEW.PRG => (b)TPREVIEW:ACTIVATE( 169 )
- Code: Select all Expand view
if ::oWndMain == nil
StopUntil( { || ::lExit } )
else
StopUntil( { || ::lExit .or. !IsWindow( WndMain():hWnd ) } ) <== 169 !!!!
endif
WndMain() seems to return nil. The stacklist shows as last line the line where the main window is activated. There is a main window !!
Also is it clear that ::oWndMain <> nil.
FRank