Hello
I have an vb.net application that need to perform async tcp/ip communication with some boards. For this communication I have an c++ win32 dll .
here is the question : when my dll asynchronically receives some data he must immediately notifies about this and send it to the main vb.net project , how do I do it ![]()
Actually I want to create and set an event in my dll for this purpose but I don't know how to catch this event in vb.net application ![]()
May be I need use the callback for this but again I don’t know how to do it ![]()
thanks in advance< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Async event or callback from the c++ dll to the vb.net application
Mark Ainsworth
There are lots of synchronization techniques available and all different levels, many of them obscure. At the API level there are handle based signalobjectandwait and multipleevents sleepx, waitformultipleobjects, waitforsingleobject, mutexes semaphores and queueuserapc.
Andrew O.
Unfortunately it is the customer willing to build c++ or c dll for communication.
There will be some other programs(created by others) that will be use this dll
Aaron Hallberg - MSFT