Hi there

Is it possible to pass a method-pointer to a dll, so that the dll can call
back?

The scenario is:

I have built a dll (in Borlands Delphi), that communicates asynchron with a
device on the comport. I have managed to send a message from Axapta via the
dll to the device. As it is asynchron communication, the device answers the
dll, after the dll-function is finished. Hence Axapta cannot get the
answer.

What I want to do, is pass a pointer to a method as a parameter to the dll.
Once the dll gets the reply from the device, it should call the method,
with the arguments....

Does anyone know how to do this?

/Jens Fudge



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to