add current directory to default search path so programs can find their own dlls

svn path=/trunk/; revision=2217
This commit is contained in:
Rex Jolliff
2001-09-01 19:36:30 +00:00
parent b83d417811
commit 787bcc5f53
2 changed files with 3 additions and 1 deletions

View File

@@ -5,4 +5,5 @@ napi.c
ntdll.lib
ntdll.coff
ntdll.dll
ntdll.nostrip.dll
temp.exp

View File

@@ -1,4 +1,4 @@
/* $Id: utils.c,v 1.46 2001/07/04 20:40:19 chorns Exp $
/* $Id: utils.c,v 1.47 2001/09/01 19:36:30 rex Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -228,6 +228,7 @@ LdrLoadDll (IN PWSTR SearchPath OPTIONAL,
wcscpy (SearchPathBuffer, SharedUserData->NtSystemRoot);
wcscat (SearchPathBuffer, L"\\system32;");
wcscat (SearchPathBuffer, SharedUserData->NtSystemRoot);
wcscat (SearchPathBuffer, L";.");
}
DPRINT("SearchPath %S\n", SearchPath);