I need many conversions in my CLI wrapper from System::String^ to char* and I\'ve written a function, but I can\'t free the heap space before returning the char*! (get heap errors over the time)
I am writing a .NET wrapper around Win32 hooks which buffers WM_CHAR messages and allows events such as key presses, key releases, and accelerator keystrokes to be subscribed to. Everything is in work
Here\'s the problem I have when running my app, and it isn\'t in any startup routing, but much later on:
The code is this Excel.Application appC = new Excel.Application(); appC.Visible = true; Excel.Workbook bookC = appC.Workbooks.Add(1);
It\'s quite hard to explain this in the title, if someone would like to change it it\'s ok. I have a situation where, in WPF, I create an \"hidden\" window which is transparent to the programmer.
Having been writing some C++/CLI to wrap an existing unmanaged C++ library the issue of converting from managed types to unmanaged types came up. A simple example off this is converting a std::string
I have an Android application, which uses javax.crypto to encrypt some text data in files. Encryption implementation is similar to this. The application works fine with the encrypted data it previousl
I have a c++ function that gets data and I called it from c#. The function gets a pointer to SAFEARRAY and poplate it with strings (using SysAllocString)
I am using an unmanaged dll in cpp which I call from from my C# web project. It works fine on my localhost but simply does not work on my shared hosting, winhost. It happens when I try to use one of t
Updated with more debugging info I\'m running a proprietary software package that I don\'t have source for, and it has a plugin interface that is COM-based.I have a .NET assembly that is COM-visible