how to protect an imported win32 dll into a .net application from memory issues
- by Eric
I have a c# application that needs to use a legacy win32 dll. The dll is almost its own app, it has dialogs, operations with hardware, etc. When this dll is imported and used, there are a couple of problems that occur:
Dragging a dialog (not a windows
system dialog, but one created by
the dll) across the managed code app
causes the UI to not…