OpenZWave / openzwave-dotnet-uwp

An Open-ZWave wrapper for use with .NET or UWP apps
Apache License 2.0
45 stars 27 forks source link

Issue during initalization #40

Open elcosmelco opened 5 years ago

elcosmelco commented 5 years ago

It compiles but when initializating it fails with the following call stack which perhaps has something to do with the changes to the string trim functions in the OZW master branch?

System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at OpenZWave.Manager.GetValueListItems(Manager* , ValueID* , vector<std::basic_string<char\,std::char_traits\,std::allocator >\,std::allocator<std::basic_string<char\,std::char_traits\,std::allocator > > >* )
   at OpenZWave.ZWManager.GetValueListItems(ZWValueId id, String[]& o_value) in d:\........\libraries\openzwave-dotnet-uwp\open-zwave\cpp\src\manager.h:line 151

I'm not great with c++ but if there's anything else I can do to help please let me know. Also - sorry for the vague topic but I'd just be guessing otherwise.