From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.


Signal mechanism for Windows shared library



  • Hello, I need to develop a shared library for Windows (dll) that handles low-level serial communication, and provide higher-level interface for .NET applications. I can easily create a class that does everything I need, but but question is about how to create a consistent API for external programs.

    For example: in Qt programming I would bind the "message ready" event to a signal, but what I should use in order to be compatible with a .NET application? I could create a method called isReady() but this is a polling... what is the recommended way to make a "signal" for Windows application in Qt?



  • Hi! I don't know if this is the recomended way, but I'd use simple C-style function callback.