shaft
03-04-2006 21:45:13
I have a specific question namely my "GetCustomAttribute" function throws an exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." No problems are showing in the log file. (I'm using VC# 2005, on windows xp)
Second, is there a way to single step into the OGRE (C++) code? Its frustrating that I have the C++ source code but can't see where it is crashing as I could back when I was just doing pure C++ development. This probably a dumb question, but I'm pretty dumb with regard to C# and cross language development.
thx
root = new Root();
Initialiser.SetupResources("resources.cfg");
root.ShowConfigDialog();
renderWindow = root.Initialise(true);
IntPtr hWnd = new IntPtr();
renderWindow.GetCustomAttribute("HWND", hWnd);
Second, is there a way to single step into the OGRE (C++) code? Its frustrating that I have the C++ source code but can't see where it is crashing as I could back when I was just doing pure C++ development. This probably a dumb question, but I'm pretty dumb with regard to C# and cross language development.
thx