Re: Unable to load DLL - The file is there
- From: "Nuno Magalhaes" <nunommagalhaes@xxxxxxxxxxx>
- Date: 14 Mar 2006 03:00:42 -0800
Yes, I think I have. Tried with an wireless USB adapter and a wireless
linksys card and the error is the same, even with the WrapiTest.cpp.
Iniside the DLL, even before it begins main() of WrapiTest.cpp, it
gives the error "IOCTL_NDISUIO_BIND_WAIT failed 32". The error 32 is in
hexadecimal... it's 50 and corresponds to the GetLastError that is
ERROR_NOT_SUPPORTED.
Any ideas, again?
Willy Denoyette [MVP] wrote:
This program opens the \\\\.\\\\Ndisuio device, do you have the device
driver installed?
Willy.
"Nuno Magalhaes" <nunommagalhaes@xxxxxxxxxxx> wrote in message
news:1142264283.807050.163030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|I used MS Visual Studio .NET 2003 and the source code compiled OK. The
| code is based upon multiple DeviceIoControl calls and doesn't seem to
| exist nothing excentric.
|
| What DLL should I be missing? Note that I didn't install the Windows
| DDK, I just found an header that allows the DLL to work in Windows XP
| SP1 or later.
|
| Dependency Walker says that MSJAVA.DLL is missing, but even with
| MSJAVA.DLL in system32 folder says that "At least one module has an
| unresolved import due to a missing export function in a delay-load
| dependent module". And I guess the problem is with the MPR.DLL.
|
| Any ideas?
|
| Willy Denoyette [MVP] wrote:
| > What about it's dependencies, are they also there or in the path? What
tool
| > was used to build the DLL and which version?
| >
| > Willy.
| >
| > "Nuno Magalhaes" <nunommagalhaes@xxxxxxxxxxx> wrote in message
| > news:1142247812.176814.180310@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| > |I have a problem loading a DLL file that is exactly in the same
| > | directory of the executable. The DLL is not in .NET format but can be
| > | accessed through P/Invoke.
| > |
| > | This never happened to me.
| > |
| > | My Platform Invoke looks something like this:
| > |
| > | [ DllImport("WRAPI.dll", EntryPoint="WRAPIEnumerateDevices") ]
| > | static extern int _EnumerateDevices(out IntPtr ppDeviceList, out int
| > | plItems);
| > |
| > | ...
| > | _EnumerateDevices(...)
| > | ...
| > |
|
.
- Follow-Ups:
- Re: Unable to load DLL - The file is there
- From: Willy Denoyette [MVP]
- Re: Unable to load DLL - The file is there
- References:
- Unable to load DLL - The file is there
- From: Nuno Magalhaes
- Re: Unable to load DLL - The file is there
- From: Willy Denoyette [MVP]
- Re: Unable to load DLL - The file is there
- From: Nuno Magalhaes
- Re: Unable to load DLL - The file is there
- From: Willy Denoyette [MVP]
- Unable to load DLL - The file is there
- Prev by Date: Re: Source code documentation
- Next by Date: Color Serialization
- Previous by thread: Re: Unable to load DLL - The file is there
- Next by thread: Re: Unable to load DLL - The file is there
- Index(es):
Relevant Pages
|