Re: Unable to load DLL - The file is there



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(...)
| > | ...
| > |
|

.



Relevant Pages

  • Re: Unable to load DLL - The file is there
    ... | What DLL should I be missing? ... I just found an header that allows the DLL to work in Windows XP ... | Willy Denoyette wrote: ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Loadgen - error registering MSMQTransmitter.dll
    ... Some missing dependencies, most likely this DLL depends on some other DLLs ... the Dependency Walker tool and see which DLLs you are missing. ... Loadgen - error registering MSMQTransmitter.dll ...
    (microsoft.public.biztalk.general)
  • Re: AfxLoadLibrary fails, GetLastError returns 14001
    ... I GetLastError() returns 14001 when I try to use LoadLibrary, ... The .dll file is in the same directory as the executable, ... a missing dependency was my first thought. ...
    (microsoft.public.vc.mfc)
  • Re: distributing an application
    ... > Run the Dependency check to check what you are missing. ... > dll in the developing machine than the one in the deployment machine. ...
    (microsoft.public.vc.atl)
  • Re: distributing an application
    ... > Run the Dependency check to check what you are missing. ... > dll in the developing machine than the one in the deployment machine. ...
    (microsoft.public.platformsdk.security)