Re: DLL could not be loaded!

From: Jonathan Morrison [MSFT] (jonathanm_at_mindspring.com)
Date: 05/14/04


Date: Fri, 14 May 2004 08:43:08 -0700

Do not implicitly link against the APIs. Instead use LoadLibrary and
GetProcAddress to get the function addresses and call them.

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Mike" <anonymous@discussions.microsoft.com> wrote in message
news:8BD16131-A3AB-4B10-AC5F-19B49F867862@microsoft.com...
> Hi,
>
> I have a DLL. It has two procedures. One of them calls Win32 APIs that are
only available on window 2000 and after. The DLL could not be loaded on NT
4.0. How can I resolve this problem? Thanks for your help in advance.
>
>


Relevant Pages

  • Re: Calling a DLL in Virtual Driver
    ... I can use LoadLibraryand GetProcAddress() API ... I have a Dll Which performs printing task. ... LoadLibrary and GetProcAddress are user-mode APIs. ...
    (microsoft.public.development.device.drivers)
  • Re: Calling a DLL in Virtual Driver
    ... I can use LoadLibraryand GetProcAddress() API ... I have a Dll Which performs printing task. ... LoadLibrary and GetProcAddress are user-mode APIs. ...
    (microsoft.public.development.device.drivers)
  • Re: How to create a dll in embedded vc for access from Visual Basic.net 2005
    ... If the SDK APIs are implemented within a DLL you shouldn't need a native C based DLL to access them, as you should be able to access the APIs directly from VB.NET via a little bit of Platform Invoke code. ... Public Shared Sub EnableWatchdogTimer ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: OT [was: Re: Integrierte C# Datenbank ähnlich wie hsqldb]
    ... > bietet außerdem noch -zig Schnittstellen und Treiber und APIs für die ... Das war eigentlich meine rerste Wahl - aber ich wollte nur eine kleine ... DLL, die ich bei meinem Programm mitliefern kann - und dafür tuts SQLite ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Relationship between OS, SDK and .NET CF
    ... have to build your own native DLL with eVC and then P/Invoke it. ... The SDK provides some scanner APIs. ...
    (microsoft.public.dotnet.framework.compactframework)