Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRPControls64.ocx v4.1.6.6 APPCRASH
Installed the latest SrpControls and Utilities onOI10 system:
Run application. Select a form from the menu that uses srp control, the app just closes.
Looked at windows event viewer 'applications' and see the info below
Event Viewer - "!Error":
Faulting application name: OpenInsight.exe, version: 1.0.0.1765, time stamp: 0x5ef7713e
Faulting module name: SRPControls64.OCX, version: 4.1.6.6, time stamp: 0x5ee1996a
Exception code: 0xc000041d
Fault offset: 0x000000000071fe2a
Faulting process ID: 0x2f5c
Faulting application start time: 0x01d655772c276822
Faulting application path: D:\OpenInsightLIVE\OI10EvolvePropertySystems\OpenInsight.exe
Faulting module path: c:\revsoft\oiclient_10\SRPControls64.OCX
Report ID: 30c596c7-a34d-445f-bb0f-8f2e47ef68ed
Faulting package full name:
Faulting package-relative application ID:
Event Viewer - "iInformation":
Fault bucket 1993350686396420364, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: OpenInsight.exe
P2: 1.0.0.1765
P3: 5ef7713e
P4: SRPControls64.OCX
P5: 4.1.6.6
P6: 5ee1996a
P7: c000041d
P8: 000000000071fe2a
P9:
P10:
Run application. Select a form from the menu that uses srp control, the app just closes.
Looked at windows event viewer 'applications' and see the info below
Event Viewer - "!Error":
Faulting application name: OpenInsight.exe, version: 1.0.0.1765, time stamp: 0x5ef7713e
Faulting module name: SRPControls64.OCX, version: 4.1.6.6, time stamp: 0x5ee1996a
Exception code: 0xc000041d
Fault offset: 0x000000000071fe2a
Faulting process ID: 0x2f5c
Faulting application start time: 0x01d655772c276822
Faulting application path: D:\OpenInsightLIVE\OI10EvolvePropertySystems\OpenInsight.exe
Faulting module path: c:\revsoft\oiclient_10\SRPControls64.OCX
Report ID: 30c596c7-a34d-445f-bb0f-8f2e47ef68ed
Faulting package full name:
Faulting package-relative application ID:
Event Viewer - "iInformation":
Fault bucket 1993350686396420364, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: OpenInsight.exe
P2: 1.0.0.1765
P3: 5ef7713e
P4: SRPControls64.OCX
P5: 4.1.6.6
P6: 5ee1996a
P7: c000041d
P8: 000000000071fe2a
P9:
P10:
Comments
Licensing is ok and 'active'
If I run the form from the IDE it runs ok, no crash.
what .log file should I create to try and trace?
On a seperate PC ran same application but older version of OI10 - Ran OK
Installed new SRP Controsls and Utilities
Ran again and it crashed
(Also see above posts from 1pm)
Found the cause, but not why.
Maybe you can check it out at your end.
This is in the create event of the MDI form. Comment out and all OK
//https://wiki.srpcs.com/display/SubclassControl/MdiTheme
// Subclass my MDICLIENT control and theme it
CtrlId = @Window:".MDICLIENT"
Handle = Get_Property(CtrlId, "HANDLE")
Send_Message(@Window:".OLE_SUBCLASS", "OLE.Subclass", Handle, CtrlId)
Convert "." to ";" in CtrlId
Set_Property_only(@Window:".OLE_SUBCLASS", "OLE.MdiTheme[":CtrlId:"]", "Windows10")
When you add an olecontrol to a form I see this in the selection:
Is this a problem that I need to resolve?
Any form that is subsequently loaded into the MDICLIENT causes srpcontrols64.ocx to crash.
Confirmed now OK