idl, h or lib to c# or tlb

V

VeNoM00

Hi,
i need to use some classes defined inside urlmon.dll, i have its idl
and c++ (.h file) definitions and i need to convert one of them to C#
or to a type library (tlb). i also have urlmon.lib but i don't know if
it could be useful. I tried to use midl.exe to convert idl to tlb but
it dosen't creates any TLB file! just some c++ files like urlmon.h,
urlmon_i.c, dlldata.c and urlmon_p.c. And MIDL says that everything is
ok! What can i do?
thanks in advance
 
M

Mattias Sjögren

And MIDL says that everything is ok! What can i do?

Look at www.pinvoke.net, you may be able to find declarations of the
functions wou want to use there. If not, post here and we can help you
with the correct DllImport method signatures.


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top