Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 23615, Virtual Library Interfaces (VLI)

by Bruce McGee Email: Anonymous

Run Win32 code from .Net applications without PInvoke.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 10.0  to 10.0 253 downloads
Copyright: No significant restrictions

Size: 10,192 bytes
Updated on Fri, 04 Nov 2005 20:38:04 GMT
Originally uploaded on Mon, 12 Sep 2005 20:59:38 GMT
SHA1 Hash: 4EA0AC35C560545BA4732A338EB4B616DFD777A2
MD5 Hash: 19B358D618082E71B5184C925F864E18

    Explore the files in this upload

Demonstrates using a Win32 DLL from a .Net application without using PInvoke or Dynamic PInvoke (LoadLibrary/GetProcAddress/FreeLibrary).

PInvoke can be a little fussy about where a DLL can be located. The DLL is also loaded on startup, preventing the application from running if there is a problem.

Dynamic PInvoke lets you load the DLL from any location, but forces you to load each DLL, use GetProcAddress for each method and unload the DLL when you're done.

With Virtual Library Interfaces, you simply declare an interface in .Net and include methods from any DLL. It behaves just like any other interface in .Net. Note that the interface doesn't have to include all of the methods in the DLL.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03