Well, I got some of the basic building blocks in place for creating a wrapper, but hit a major showstopper.
EdgeLib is not a library. It's an application. Specifically, it has a WinMain entry point that is blocking.
I need to be the app (in particular my C# application), and use EdgeLib as a library. While I don't know much about the internals of EdgeLib, i do recognize the need to have an event loop, etc.
My problem of writing a C# wrapper is equivalent to the problem of making EdgeLib a Win32 control (custom HWND) on a Win32 dialog box. In both scenarios, the entry point is not EdgeLib, and the event loop does not belong to EdgeLib.
Is there something I'm missing? Advice? Special drop for me? My email is