Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# and COM InterOp problems

Status
Not open for further replies.

rsfoley

Programmer
Apr 16, 2002
56
US
I am trying to use some functions and structs from Shell32.DLL in my C# project. I have VS create a RCW by adding the COM DLL to my project references. However, after doing this I can only see the Classes, Interfaces, and Delegates from the DLL; I can not see the functions or structs. (Or any of the other NON-CLASS related items)

I understand I can use DllImport to extern the functions I want, but I could not figure out how to use DllImport to extern the Structs I want.

I do not care which method I use to gain access to the features I want of this DLL. If anyone can point me in the right direction, or just flat out let me know how to do what I want.

Thanks in advance…

Rodney
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top