Re: GetProcAddress in Delphi .net 2005




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

.