Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: walkerbox on August 25, 2015, 12:49:07 PM
-
Hello,
I got NullReferenceException when I'm closing bluetooth server after receiving data. I'm using the newest 6.14.4.0 version
Could you please look at it/help me with it?
at ATL.CSimpleStringT<wchar_t,0>.Empty(CSimpleStringT<wchar_t\,0>* )
at ATL.CSimpleStringT<wchar_t,0>.SetString(CSimpleStringT<wchar_t\,0>* , Char* pszSrc, Int32 nLength)
at wcl.wcl_int.CwclCustomServerConnection.InternalDoDisconnected(CwclCustomServerConnection* )
at wcl.wcl_int.CwclCustomServerConnection.Disconnect(CwclCustomServerConnection* )
at wcl.wcl_int.CwclCustomServerConnection.Close(CwclCustomServerConnection* )
at wcl.wclServer.Close()
-
Hello,
Check OnDisconnect event handler. It looks error appears there. Also make sure you call wclAPI.Unload when closing your app.