Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-11-2005
gasproni gasproni is offline
Registered User
 
 
Join Date: Aug 2005
Posts: 8
ICE and COM initialization question

Hi all,

I'm in the process of refactoring a Visual c++6 application. We are going from a two tiered architecture (app+db) to a three tier one (app+ice servers+db), using ICE for middleware.

Unfortunately, on the server side, I have to deal with some legacy libraries that use COM, so I need to call CoInitializeEx and CoUninitialize, ideally at the start, and exit of each thread that uses COM.

I think I can do it as the first and last operation on the implementation of ICE methods on the server side, but I was wondering if there is a way to put this calls directly on the threads of the thread-pool managed by ICE.

Thanks,
Giovanni
__________________
Giovanni Asproni
Barclays Capital
www.barcap.com
Reply With Quote
  #2 (permalink)  
Old 11-11-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
There is no "thread creation hook" in Ice, that would allow you to have a thread call user code upon creation. Perhaps it would be a good idea to add something like this. We will put it on our todo list
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
python: Ice.initialize with initialization data fails hiasl Bug Reports 1 02-05-2007 09:59 AM
php ice interface struct initialization dthompson Help Center 1 05-17-2006 06:18 PM
Feature Request: generate constructors with parameter for initialization DeepDiver Comments 2 01-04-2005 11:05 AM
Initialization of IceSSL rhochmuth Help Center 1 05-13-2004 08:05 PM
class with operations, Initialization StuartA Help Center 6 02-22-2004 07:58 PM


All times are GMT -4. The time now is 09:51 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.