Re: Unable to load DLL - The file is there



This error is returned from the DeviceIoControl call in InitInstance, what
makes me think you don't have the right device driver installed or this code
was written for another device.
Willy.


"Nuno Magalhaes" <nunommagalhaes@xxxxxxxxxxx> wrote in message
news:1142334042.747633.38470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| 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: Continuous install run
    ... You don't want to find this exe or missing .dll. ... Free Online Virus Scan ... 2004 Windows MVP "Winny" Award ...
    (microsoft.public.windowsxp.general)
  • Re: Windows Messaging DLL File Issue
    ... I'm having the same problem with the missing or damaged DLL message, ... > I'm running Office 2003 Professional on Windows ... > The .DLL file for this service is either damaged or could not be found. ...
    (microsoft.public.windowsxp.help_and_support)
  • 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: Missing ksuser.dll
    ... >> it tells me that I'm missing ksuser.dll and to load it from my Windows XP ... >> Home edition disk which I cannot locate. ... > When you unzip it unhide your files and folders and place this .dll in your ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XP Home edition upgrade
    ... aka "Nutcase" - Microsoft MVP ... Windows help - www.rickrogers.org ... I get an error that a .dll is missing ...
    (microsoft.public.windowsxp.newusers)