Re: GetProcAddress in Delphi .net 2005
- From: "Marc Rohloff" <marcrohloff_ng@xxxxxxxxxxx>
- Date: 28 Apr 2005 06:31:25 -0700
Andre Joosten wrote:
> I did find you can't use getprocaddress direct.. need to use a
delegate
> But i can not find (much) on how to do that...
Can't you convert the libraries to .NET assemblies or alternatively to
COM objects? What sort of security settings do you need to run under.
Are you ever going to load more than one DLL in a session? Is the name
of the DLL and the exported function always the same?
I know of 3 ways to do this, they all have their pros and cons.
Generally this technique is typically called Dynamic PInvoke. A search
should get you a few hits. This is the first:
http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic740.aspx
'Joosten'? This isn't a typical NZ name is it?
--
Marc Rohloff
.
- Follow-Ups:
- Re: GetProcAddress in Delphi .net 2005
- From: Andre Joosten
- Re: GetProcAddress in Delphi .net 2005
- References:
- GetProcAddress in Delphi .net 2005
- From: Andre Joosten
- Re: GetProcAddress in Delphi .net 2005
- From: Marc Rohloff
- Re: GetProcAddress in Delphi .net 2005
- From: Andre Joosten
- Re: GetProcAddress in Delphi .net 2005
- From: Jamie
- Re: GetProcAddress in Delphi .net 2005
- From: Andre Joosten
- GetProcAddress in Delphi .net 2005
- Prev by Date: Re: OnFilterRecord
- Next by Date: Re: Virtual Library Interfaces (VLI).
- Previous by thread: Re: GetProcAddress in Delphi .net 2005
- Next by thread: Re: GetProcAddress in Delphi .net 2005
- Index(es):
Relevant Pages
|