diff options
author | john_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-05-08 23:00:05 +0000 |
---|---|---|
committer | john_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-05-08 23:00:05 +0000 |
commit | d1160e68b1301a8b0e120ba8da56bb2e7d4fb49e (patch) | |
tree | cf04398acb7ad9fb45311eb105d60975028bbc03 /TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp | |
parent | 1c3dd540264435be21072a3a69a8a8e969bd2b1a (diff) | |
download | ATCD-d1160e68b1301a8b0e120ba8da56bb2e7d4fb49e.tar.gz |
Fri May 5 14:33:29 UTC 2006 Ciju John <john_c@ociweb.com>oci_wchar_refactor_post_1_5_1_branch
Diffstat (limited to 'TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp')
-rw-r--r-- | TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp b/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp index 8564219f925..118c807c2c6 100644 --- a/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp +++ b/TAO/examples/POA/On_Demand_Loading/Servant_Manager.cpp @@ -69,7 +69,7 @@ ServantManager_i::obtain_servant (const char *str, "Bind failed"), 0); // Now that the dll name is available we open the dll. - if (dll->open (dllname_.c_str ()) == -1) + if (dll->open (ACE_TEXT_TO_TCHAR_IN(dllname_.c_str ())) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p", dll->error ()), @@ -80,7 +80,7 @@ ServantManager_i::obtain_servant (const char *str, // Cannot go from void* to function pointer directly. Cast the void* // to long first. - void *symbol = dll->symbol (create_symbol_.c_str ()); + void *symbol = dll->symbol (ACE_TEXT_TO_TCHAR_IN(create_symbol_.c_str ())); long function = reinterpret_cast<long> (symbol); SERVANT_FACTORY servant_creator = |