DMamoun,
You aren't going to be able to do this, because you have no way of
dereferencing the pointer that GetProcAddress returns. However, the next
version of .NET will allow you to define a delegate, and then call that
delegate when given the pointer in memory to a function (this will be done
through the Marshal class).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"DMamoun" <an*******@discussions.microsoft.com> wrote in message
news:1b****************************@phx.gbl...
I am trying to call a fuction a a C# dll using the
GetProcAddress, but the returned handle is null, wheras
the LoadLibrary of the container dll succeeds, I write
the function name as it is written in ducumentaion, I
tried to use dumpin, but it doesn't show any method name.
what does this mean and how I can call this fucntion