Hello!
I'm experiencing a rather weird error. While executing the following piece of C# code, after some 4000 up to 80000 loop iterations a popup error message is shown:
Microsoft C++ Runtime Library:
R6025 - pure virtual function call,
and after that, execution is terminated. The popup seems to be generated while execution is at the line marked with the asterisk. Note that I'm writing C#, and every of my attempts to force a "virtual function call" runtime error in a C# scratch program was either detected at compile time, or the bad call was automatically wrapped to the implementing class ...
// DmsDatabase is a valid IManDatabase object
//
IManUsers allUsers = DmsDatabase.SearchUsers("", imSearchAttributeType.imSearchBoth, true);
[...]
IManUser userObj = null;
try {
userObj = allUsers.ItemByName(someUserName); // (*)
} catch (Exception) {
userObj = defaultUserObj;
}
My program is a console application only; so, no GUI parts stem from my code.
Has anyone ever seen or heard something similar, or even a hint what I should look after? It seems to me that this error might originate from the IManage API ...
Any help would be appreciated!
Regards
Wolfgang