Hello, all!
The situation is:
I have a dll. Now I want to attach it to a process. But
Always returns
!
First I thought the path is wrong, but
Always says that file exists!
Any ideas?
The situation is:
I have a dll. Now I want to attach it to a process. But
Code:
LoadLibrary("MyDll.dll")
Code:
NULL
First I thought the path is wrong, but
Code:
WIN32_FIND_DATA FileData;
HANDLE hFile;
hFile = FindFirstFile(path, &FileData);
if (hFile != INVALID_HANDLE_VALUE) {
TRACE ("\nFile <%s> exists!!!\n",path);
} else {
TRACE ("\nFile <%s> doesn't exist\n",path);
}
Always says that file exists!
Any ideas?