External (DLL) gadgets question

BlitzMax Forums/BlitzMax Programming/External (DLL) gadgets question

If I have a gadget attached to a Bmax window thru a DLL, is there anyway to get the external gadget to return events in BlitzMax (or some other communication mechanism)?

This is Windows only of course.