Have the main program pass the DLL a callback table.  Main and DLL
can share the definition of the callback, but the DLL should do
a reasonable runtime check that the table it is presented matches
the one it expects.

Reply via email to