OgreDotNet Differences        


This page will describe differences in Ogre and OgreDotNet or any general differences in how things work in .Net as apposed to C++. Please add to any relevant differences that you encounter in your experiences with OgreDotNet.




Because ListboxTextItem is create in .Net with a new statement it will destroy the C++ object when it is Disposed. So when adding a ListboxTextItem to a MutliColumnList make sure you call for each item ListboxTextItem.setAutoDelete(false). Other wise an System.AccessViolationException will be thrown when you'r LisboxTextItems are disposed, because the IntPtr it holds to the C++ object has already been deleted.