[ace-users] Init for svc

Steve Huston shuston at riverace.com
Mon Sep 24 15:23:38 CDT 2007


Hi JR,

> Hi All...
>  Quick question for you....
> But first...
> 
>     ACE VERSION: 5.5.9
>     HOST MACHINE and OPERATING SYSTEM:    Win XP, sp1
>     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
> 
>     COMPILER NAME AND VERSION:     VC++ 8.0(MSVC 2005) & VC6
> 
>     CONTENTS OF $ACE_ROOT/ace/config.h
> #if !defined (_WIN32_WCE)
> #    define ACE_ENABLE_SWAP_ON_WRITE
> //#    define ACE_DISABLE_SWAP_ON_READ
> #    define ACE_DISABLE_WIN32_ERROR_WINDOWS
> #    define ACE_HAS_STANDARD_CPP_LIBRARY 1
> #endif
> #include "ace/config-win32.h"

Thanks for the PRF!

> I'm using my onw Exception handling and need to initialize it for
the 
> svc thread.
> Where whould it be best to hook in the initialization ???

Is this for a Service Config framework-loaded service? If so, can you
do the initialize in the service's init() hook, or its svc() hook
itself?

-Steve

--
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
See http://www.riverace.com/sponsor.htm




More information about the Ace-users mailing list