diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-12 01:43:29 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-12 01:43:29 +0000 |
commit | 5fc7f1f92a03ac6404fb1b78d663c10d648bb1ad (patch) | |
tree | d3c68d5709c74fa9b8f508844f34ed5f27e50dd3 | |
parent | 02e74e926fdf83f081ee3c5243cca18d1c42b120 (diff) | |
download | ATCD-5fc7f1f92a03ac6404fb1b78d663c10d648bb1ad.tar.gz |
Mon Mar 12 01:31:16 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
-rw-r--r-- | ACE/ChangeLog | 13 | ||||
-rw-r--r-- | ACE/examples/DLL/test_dll.cpp | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index d652e050c41..9651ee523ec 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,16 @@ +Mon Mar 12 01:31:16 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com> + + * examples/DLL/test_dll.cpp: + + This example was not working under Windows XP when compiled with + Visual Studio 2003.NET. The culprit was the following line of code: + + dll.open (ACE_TEXT("./") ACE_DLL_PREFIX ACE_TEXT("DLL_Today")); + + We don't need to supply "./" to the open method, since $ACE_ROOT/lib + is in DLL search path environment variable (PATH for Windows and + LD_LIBRARY_PATH for unix-like systems). + Fri Mar 9 21:04:22 UTC 2007 Steve Huston <shuston@riverace.com> * bin/MakeProjectCreator/config/vc8nmake.mpb: Added /wd4250 diff --git a/ACE/examples/DLL/test_dll.cpp b/ACE/examples/DLL/test_dll.cpp index 49f385aff98..2831592a0ce 100644 --- a/ACE/examples/DLL/test_dll.cpp +++ b/ACE/examples/DLL/test_dll.cpp @@ -20,7 +20,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_DLL dll; - int retval = dll.open (ACE_TEXT("./") ACE_DLL_PREFIX ACE_TEXT("DLL_Today")); + int retval = dll.open (ACE_DLL_PREFIX ACE_TEXT("DLL_Today")); if (retval != 0) ACE_ERROR_RETURN ((LM_ERROR, |