dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Call a 16-bit DLL in Win32

  1. #1
    MaRiŲ Guest

    Call a 16-bit DLL in Win32


    I have a 16-bit DLL and I need to call it In a Win32 App.
    this dll runs with VB3 Ok (16 bit...)

    i“ve read something about some undocumented Kernel32 Api“s:
    LoadLibrary16 "kernel32" "#35"...
    but i can“t do nothing.
    thaNks.;



  2. #2
    Paul Clement Guest

    Re: Call a 16-bit DLL in Win32

    On 4 Sep 2002 05:45:48 -0700, "MaRiŲ" <mgonzalez@grupocimd.com> wrote:

    ¤
    ¤ I have a 16-bit DLL and I need to call it In a Win32 App.
    ¤ this dll runs with VB3 Ok (16 bit...)
    ¤
    ¤ i“ve read something about some undocumented Kernel32 Api“s:
    ¤ LoadLibrary16 "kernel32" "#35"...
    ¤ but i can“t do nothing.
    ¤ thaNks.;
    ¤

    Not aware of any reverse thunking mechanism for 32-bit VB. Perhaps someone knows of one.

    The other method is to write an Active EXE COM wrapper in 16-bit VB 4.0 for the 16-bit API function
    calls, which would be accessible from either a 16 or 32-bit application.


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center