2015-06-23, 19:15
OK I got a more detailed stack trace for you
so it fails in JOYSTICK::CUserID::LoadRandomNumber() because strPath is not a valid path and therefore opening the file fails. The content of strPath is
so there's a slash before "random_number.txt" that shouldn't be there.
Code:
> peripheral.joystick.dll!JOYSTICK::CUserID::LoadRandomNumber(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & strUserPath) Line 59 C++
peripheral.joystick.dll!JOYSTICK::CUserID::Load(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & strUserPath) Line 38 C++
peripheral.joystick.dll!JOYSTICK::CButtonMapAPI::Initialize(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & strUserPath) Line 46 C++
peripheral.joystick.dll!JOYSTICK::CDatabaseWeb::CDatabaseWeb(JOYSTICK::CStorageManager * manager, JOYSTICK::CDatabase * userXml, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & strUserPath) Line 46 C++
peripheral.joystick.dll!JOYSTICK::CStorageManager::Initialize(ADDON::CHelper_libKODI_peripheral * peripheralLib, const PERIPHERAL_PROPERTIES & props) Line 84 C++
peripheral.joystick.dll!ADDON_Create(void * callbacks, void * props) Line 80 C++
Kodi.exe!DllAddon<PeripheralAddon,PERIPHERAL_PROPERTIES>::Create(void * p1, PERIPHERAL_PROPERTIES * p2) Line 47 C++
Kodi.exe!ADDON::CAddonDll<DllPeripheral,PeripheralAddon,PERIPHERAL_PROPERTIES>::Create() Line 233 C++
Kodi.exe!PERIPHERALS::CPeripheralAddon::CreateAddon() Line 112 C++
Kodi.exe!PERIPHERALS::CPeripheralBusAddon::PerformDeviceScan(PERIPHERALS::PeripheralScanResults & results) Line 104 C++
Kodi.exe!PERIPHERALS::CPeripheralBus::ScanForDevices() Line 125 C++
Kodi.exe!PERIPHERALS::CPeripheralBus::Initialise() Line 228 C++
Kodi.exe!PERIPHERALS::CPeripherals::Initialise() Line 102 C++
Kodi.exe!CApplication::Create() Line 678 C++
so it fails in JOYSTICK::CUserID::LoadRandomNumber() because strPath is not a valid path and therefore opening the file fails. The content of strPath is
Code:
E:\Coding\Cpp\xbmc.montellese\portable_data\userdata\addon_data\peripheral.joystick\/random_number.txt