So back to it...
Does anyone have an idea what to do with this message
Code:
[GER] System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei tsapi.assembleGrammar()
[ENG] System.NullReferebceException: The Objectreference was not set to the Objectinstance, occured in tsapi.assembleGrammar()
on this loop
Code:
if (resChL == ERROR_ok) {
for (int i = 0; sizeof(*channelListPtr) / sizeof(uint64); i++) {
char* resultChannelVar;
ts3Functions.getChannelVariableAsString(schid, channelListPtr[i], CHANNEL_NAME, &resultChannelVar);
String^ resChVarStr = Char::ToString(*resultChannelVar);
array<String^>^ resChVarStrArr = resChVarStr->Split(' ');
/* Exception happens here */
for each (String^ a in resChVarStrArr) {
channel->Add(a);
}
/* Exception ends here */
ts3Functions.freeMemory(resultChannelVar);
}
Like, I don't quite understand that error message...
Any idea?