Both routines call external .dll's
Both work fine independently
Recently, when he attempts to open the scheduler after completing the credit card transaction, he gets the following error:
Error description: Error FiveWin/6 Cannot create window or control:
Class: TPANEL
Caption:
System Error: Cannot find window class.
Stack Calls
===========
Called from: .\source\classes\WINDOW.PRG => WNDCREATEERROR( 766 )
Called from: .\source\classes\WINDOW.PRG => TPANEL:CREATE( 747 )
Called from: .\source\classes\TPANEL.PRG => TPANEL:NEW( 49 )
Called from: D:\Projects\MLS2013\Source\tCodeJock.prg => MPCAL:BUILDPANELS( 550 )
Called from: D:\Projects\MLS2013\Source\tCodeJock.prg => MPCAL:NEW( 178 )
Called from: D:\projects\MLS2013\source\asw2012.prg => (b)MAIN( 454 )The object is created with the following code:
LOCAL cipObject
cipObject := FWGetOleObject("cipwin32.easyIntegrator")
We had some discussion on this previously, focused on how to CLOSE the object. The answer was that it didn't need to be closed because it is a LOCAL and goes away.
The error comes specifically after using that control ( and exiting it ), then doing the following:
::oPanelCalex = TPanel():New( 0, 175, ( nHeight ), ::nWidth, ::oWndClient )
::oPanelExplorer = TPanel():New( 0, 0, ( nHeight ) , ::oPanelCalex:nLeft, ::oWndClient )
This creates a FiveWin/6 Cannot create window or control in TPANEL.
I know work has been done recently on TPANEL. Any thoughts on why this may occur ?
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit