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

edited July 2020 in General
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:

Comments

  • I do see a crash, but only if I disable the licensing. Otherwise, I cannot recreate the crash by simply putting a control on a form.
  • 4.1.6.7 fixes the licensing crash. If it's still crashing, let me know.
  • No, still crash.
    Licensing is ok and 'active'
  • If I start_mdichild from the mdi menu it crashes - does not execute any commuter module code.

    If I run the form from the IDE it runs ok, no crash.

    what .log file should I create to try and trace?
  • This is the latest OI10 upgrade also
  • edited July 2020
    @KevinFournier
    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)
  • @KevinFournier @DonBakke
    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")
  • ALSO.

    When you add an olecontrol to a form I see this in the selection:



    Is this a problem that I need to resolve?
  • @BarryStevens - Thanks for sending us the code that is causing the crash. We'll look into this on our end. Regarding the screenshot, I'm not seeing anything that needs to be resolved. Perhaps you are wondering why there are three instances of "SRP Subclass Control". The reason is because SRPEditor64.ocx, SRPControls64.ocx, and SRPUtil64.ocx all have the Subclass control contained within them (as well as all of the other controls we offer). So seeing triplicate entries is not unexpected.
  • Great and thanks for the clarification.
  • >>...code that is causing the crash

    Any form that is subsequently loaded into the MDICLIENT causes srpcontrols64.ocx to crash.
  • Fixed in 4.1.7. Thanks for isolating the issue.
  • Thanks.
    Confirmed now OK
Sign In or Register to comment.