Forum Discussion
Hi,
I'm confused again.
In your example of the executable that loads the DLL into an assembly ("SampleAssembly") it looks like the EXE is a console program. Doesn't it need some MessageLoop to keep the EXE active and alert for requests? How are requests for the wrappers recognized/processed in the EXE (what's the code supposed to look like for this)? What should a wrapper function look like? How does the EXE call the DLL via the SampleAssembly? It would be very helpful to have a more complete example for the necessary EXE code.
I assume that my script should be using the AppDomain approach to access this EXE, and then the EXE is to wrap calls to the DLL which has been loaded into the SampleAssembly object.
I'm sorry for asking so many questions, but there is something that I am always missing. I keep getting more little pieces of the puzzle but it's like I have been building out from the corners. The chunks are getting bigger and growing towards each other but they are still disconnected. I need the pieces that will finish connecting the chunks and make it complete/workable. It seems like it should be simple. Maybe I'm mixing pieces from different puzzles/approaches.