I’m working on a dll that is loaded in application A, I want to share interface/object(s) between application A and another application B, so, here’s the idea:
[foreign application A] <- [my dll] <-> [my application B]
Ideally would be to “somehow” reroute functions in the dll to [my application B]
I’m interested in an elegant solution, one that wouldn’t require too much compromise, thoughts?
EDIT:
[application A] is written in C, [my dll] and [application B] are written in the same delphi version.
Why don’t you expose an automation interface in [My Application B] which [My DLL] can access and forward function calls on to?
and then
Obviously there’s more to it than that, but you get the gist.