Author Topic: Critical error  (Read 11899 times)

joni55

  • Guest
Critical error
« on: March 15, 2016, 05:12:59 PM »
Hello,
I often get an error with this stack trace:
  at EnterCriticalSection(_RTL_CRITICAL_SECTION* )
   at wcl.wcl_int.CwclSync.Enter(CwclSync* )
   at wcl.wcl_int.CwclAPI.Unload(CwclAPI* )
   at wcl.wcl_int.CwclAPI.{dtor}(CwclAPI* )
   at wcl.wcl_int.CwclAPI.__vecDelDtor(CwclAPI* , UInt32 A_0)
   at wcl.wclAPI.!wclAPI()
   at wcl.wclAPI.Dispose(Boolean A_0)
   at System.ComponentModel.Component.Finalize()

Is causes my app to crash. Do you know what could it be? I'm using Windows drivers.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Critical error
« Reply #1 on: March 15, 2016, 05:32:13 PM »
Hello,

You must always call wclAPI.Unload when your application finished (for example in main form unload event handler, take a look on WCL demos).

 

Sitemap 1 2 3 4 5 6 7