Re: GetProcAddress in Delphi .net 2005
- From: "Marc Rohloff" <marcrohloff_ng@xxxxxxxxxxx>
- Date: 27 Apr 2005 06:06:07 -0700
Andre Joosten wrote:
> I am having difficulty making the below bit work.
> fLibH := LoadLibrary(LibName);
> @fGetTaxName :=
GetProcAddress(fLibH,GetTaxNameProcName).ToPointer;
> It 'sorta' works, but I can not use the fGetTaxName or fCalcProfit
> Without a error :
> "Object reference not set to an instance of an object"
> What am i doing wrong...
The problem is that .NET does not really work this way. Sometimes you
need to do things differently in .NET.
So what are you trying to do, exactly?
--
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
- GetProcAddress in Delphi .net 2005
- Prev by Date: Re: Faster way of making long string?
- Next by Date: Re: OnFilterRecord
- Previous by thread: GetProcAddress in Delphi .net 2005
- Next by thread: Re: GetProcAddress in Delphi .net 2005
- Index(es):