• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

how can i load a dll at run time in delphi 2007 .NET

I am trying to create a common procedure to load any dll. How can I load a dll at run time in delphi 2007 .NET?
I can do in Delphi Win32 using LoadLibrary function. I need something similar. Please help
0
Soumini
Asked:
Soumini
1 Solution
 
developmentguruPresidentCommented:
Check out this link:

http://msdn2.microsoft.com/en-us/library/aa302340.aspx#win32map_dynamiclinklibraryfunctions

it shows the win32 function calls and how they map into .NET.  The appropriate call for LoadLibrary is System.Reflection.Assembly.Load.  I have checked and the call is supported in Delphi 2007 in a VCL.NET application.  Let me know if you need more.
0
 
SouminiAuthor Commented:
Thanks
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now