garima_sikarwar
asked on
How to interop private members of COM Dll into .net dll?
Hello,
I am converting COM Dll to .net Dll using tlbimp... It only creates the wrapper for public members of the COM dll not for private members..
Can anyone tell me the way to get the private members too in the .net wrapper?
Thanks
I am converting COM Dll to .net Dll using tlbimp... It only creates the wrapper for public members of the COM dll not for private members..
Can anyone tell me the way to get the private members too in the .net wrapper?
Thanks
By design, it will not create a wrapper for private members since those aren't accessible outside the COM DLL anyway. TLBIMP does not _convert_ the COM DLL, in only creates a WRAPPER, i.e. an interface to access the COM DLL. The original COM DLL is still the one doing the work.
ASKER
yaa , thats true.. but is there any way to get the information abt private members of COM DLL...
one more thing, can we create .net wrapper dynamically ..I mean through the code ...
one more thing, can we create .net wrapper dynamically ..I mean through the code ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.