Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-13-2005
g00fy g00fy is offline
Registered User
 
Name: Salvania
Organization: Salvania
Project: Database systems
 
Join Date: Dec 2005
Posts: 45
Send a message via ICQ to g00fy
-->
Creating dynamically loadable modules

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:
Code:
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 !
Reply With Quote
  #2 (permalink)  
Old 12-13-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Welcome to the forum.

Please update your signature as described in this announcement.

Thanks,
- Mark
Reply With Quote
  #3 (permalink)  
Old 12-13-2005
g00fy g00fy is offline
Registered User
 
Name: Salvania
Organization: Salvania
Project: Database systems
 
Join Date: Dec 2005
Posts: 45
Send a message via ICQ to g00fy
-->
done (i think)
__________________
Steven Van Ingelgem
Salvania [http://www.salvania.be/]
Product Descr.: Statistical data analysis
Reply With Quote
  #4 (permalink)  
Old 12-13-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
docs: reference to other modules in slice n2503v Comments 2 11-20-2006 05:00 PM
client creating objects bks Help Center 3 04-24-2005 06:11 PM
Impact of include on on structs in modules(Python) petrilli Help Center 2 03-11-2005 12:18 AM
Can Ice dynamically check and update its registry infomation when a Ice server dies? rc_hz Help Center 3 11-15-2004 10:04 AM
Help on creating services w/ ICE stephan Help Center 6 02-02-2004 05:14 PM


All times are GMT -4. The time now is 10:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.