C++ DLL which raises events in VB or C#/C++
Posted on 2010-08-22
I'm looking for suggestions / tips on creating an oop c++ dll with a worker thread which will loop, do request info from a serial port and the trickiest part is raising an event from within a class object to a client application written in either VB or C#/C++. I've found examples of callbacks classes and understand how they work, an example of functors and I've got working examples of simple callbacks.
I'm looking for best practices with or without examples and suggestions on implementation to make this as flexible for clients as possible.