Archived
This forum has been archived. Please start a new discussion on GitHub.
Creating dynamically loadable modules
in Help Center
Hi all,
I am currently using Windows, so this question is - for the moment - Windows oriented.
I want to make a program which - based upon some configuration settings (aka properties) - will be able to load DLL's and more specifically, load servants from those DLLs.
What I want to achieve is to create for example:
Now in DLL1 I want it to implement to say "Hi from DLL1", in DLL2 I want it to say like "You didn't like it in 1 ha?".
I know it's a little difficult to change this while the server is running, but that's not an issue. I want to be able to call a servant from some DLL which is pre-configured.
Can someone get me some pointers where I can find more information about this?
Thanks :cool: !
I am currently using Windows, so this question is - for the moment - Windows oriented.
I want to make a program which - based upon some configuration settings (aka properties) - will be able to load DLL's and more specifically, load servants from those DLLs.
What I want to achieve is to create for example:
interface MyTest { nonmutating string saySomething(); };
Now in DLL1 I want it to implement to say "Hi from DLL1", in DLL2 I want it to say like "You didn't like it in 1 ha?".
I know it's a little difficult to change this while the server is running, but that's not an issue. I want to be able to call a servant from some DLL which is pre-configured.
Can someone get me some pointers where I can find more information about this?
Thanks :cool: !
0
Comments
-
Welcome to the forum.
Please update your signature as described in this announcement.
Thanks,
- Mark0 -
done (i think)0
-
This is how we load the SSL plug-in, and IceBox services. In C++ you can look at the implementation to find out how it works. I suggest starting with src/Ice/DynamicLibrary.cpp.0