Okay, I'm not in a hurry with this. I just want to know how to do this.
I have two executables. One is exporting a method while the other wants to import this EXE as a DLL and call this method.
Both executables should work as stand-alone executables, with proper forms and stuff like that. However, I want one EXE to also work as if it's a DLL. As a DLL it doesn't have to create forms or do other stuff. All it must do is offer the other EXE access to a method.
What would be the easiest way to solve this?
And no, I DON'T want to create a separate DLL for this method. Neither do I want some complex component set that can do this for me. I'm just experimenting here.