Saleh,
What do you mean use it as COM? If you are importing the components
through COM interop, then you don't have to use the P/Invoke layer (most
likely).
However if you have the header file, then you are not using COM interop.
I think what you are asking is if there are automated tools which will
convert header files to DllImport statements. Unfortunately, there is not
(not that I know of, the syntax of C++ is complex enough to say the least,
which makes it very difficult).
If you post the functions you want converted, then I am sure people in
the group will help.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Saleh Matani" <sa***@matani.net> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
hello ,
i am using the Xenroll.DLL in C# as COM bacause of that i do not have
access to all methods i need.
I am searching for a posibility to use teh Xenroll as an API with
[DLLImport !!!
is there any Programm that can convert("invoke") the Xenroll.h ?
thak you
Saleh Matani