summaryrefslogtreecommitdiff
path: root/ace/DLL.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 21:01:51 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-21 21:01:51 +0000
commit627a55cea26d85721b151bd4764927d1521f7f34 (patch)
tree94a17f1479b91df4e52f25916a68091b7d41724e /ace/DLL.cpp
parent05d48b9e002c493527b4989c3d0d040a097e59fe (diff)
downloadATCD-627a55cea26d85721b151bd4764927d1521f7f34.tar.gz
ChangeLogTag:Wed Jul 21 15:54:25 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/DLL.cpp')
-rw-r--r--ace/DLL.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/DLL.cpp b/ace/DLL.cpp
index 4e4e81858df..b4b5a715b21 100644
--- a/ace/DLL.cpp
+++ b/ace/DLL.cpp
@@ -21,7 +21,8 @@ ACE_DLL::ACE_DLL (int close_on_destruction)
ACE_DLL::ACE_DLL (const char *dll_name,
int open_mode,
int close_on_destruction)
- : handle_ (ACE_OS::dlopen (dll_name, open_mode)),
+ : handle_ (ACE_OS::dlopen (ASYS_WIDE_STRING (dll_name),
+ open_mode)),
close_on_destruction_ (close_on_destruction)
{
if (this->handle_ == ACE_SHLIB_INVALID_HANDLE)
@@ -76,7 +77,7 @@ ACE_DLL::open (const char *dll_filename,
return result;
// The ACE_SHLIB_HANDLE object is obtained.
- this->handle_ = ACE_OS::dlopen (ASYS_ONLY_MULTIBYTE_STRING (dll_pathname),
+ this->handle_ = ACE_OS::dlopen (dll_pathname,
open_mode);
if (this->handle_ == ACE_SHLIB_INVALID_HANDLE)