The title says DLL function, but that isn't entirely correct. I'm loading the Perl 5.8.0 DLL from a Delphi application. I'd like to pass the script a callback function in the Delphi application. I assume that adding something like callback=[pointer value] to the 'command line' would get me started. Then what?
Here's the type of function I'm thinking of:
function ScriptWantsToKnow(Question: PChar): PChar; export;