V
VivekR
Hi All,
I was using VC++ earlier to register COM Server programmatically. What
i do is I use LoadLibrary(Desired COM DLL), then
GetProcAddress("DllRegisterServer"), and then call that function using
the function pointer that GetProcAddress returns. How do i do that in
C#, I tried using the DllImport attribute for calling LoadLibrary and
GetProcAddress, it works but at last GetProcAddress returns a fucntion
pointer ie a FARPROC or barely long, and i don't know how to use it as
a function pointer in C#.
Please help in this regard
Thanks in advance,
Vivek Ragunathan
I was using VC++ earlier to register COM Server programmatically. What
i do is I use LoadLibrary(Desired COM DLL), then
GetProcAddress("DllRegisterServer"), and then call that function using
the function pointer that GetProcAddress returns. How do i do that in
C#, I tried using the DllImport attribute for calling LoadLibrary and
GetProcAddress, it works but at last GetProcAddress returns a fucntion
pointer ie a FARPROC or barely long, and i don't know how to use it as
a function pointer in C#.
Please help in this regard
Thanks in advance,
Vivek Ragunathan