Recommended Posts

Uhm, hi. I just had a somewhat successful day playing with SWIG to expose my legacy C++ code to C#. I can now use my engine (implemented in C++) from C#. Now, I find that it won't let me step into the unmanaged C++ code from the managed code (interfaced via PInvoke), so I go through the project options for the C# application and see "Enable Unmanaged Debugging". Hooray! So I turn this on, and 'lo! it worked....with one snag: it now sits there doing apparently _NOTHING_ (no cpu usage or HDD usage) for 15-20 seconds before it starts executing. It also has made stepping through the code increadibly sluggish :(.
Any clues on what I need to do? Perhaps I need to upgrade to VS2005 beta? (this could work, but apparently I can't use the beta .NET platform for 4e4 -_-).
Oh yeah, I'm currently using MSVS2003.
Thank you very muchly.