P
pkcser
Hi,
I am new to .Net development, so please excuse me if some of the
questions ....
So I have Win32 library (using Bluetooth) and I have to expose its
functionality to .Net developers.
I think I have 3 options:
1) Re-implement it in C# - looks impossible:
1) I have to call several native methods with complex parameters like
WSALookupServiceBegin
2) I do not have AF_BTH and similar socket functionality in .Net Socket
releated classes
2) Create a COM wrapper so any .Net language could use it (easy task)
3) Write mixed assembly
So my question is what is your opinion - should I create COM or Mixed
Assembly?
Thanks in advance:
Trever
I am new to .Net development, so please excuse me if some of the
questions ....
So I have Win32 library (using Bluetooth) and I have to expose its
functionality to .Net developers.
I think I have 3 options:
1) Re-implement it in C# - looks impossible:
1) I have to call several native methods with complex parameters like
WSALookupServiceBegin
2) I do not have AF_BTH and similar socket functionality in .Net Socket
releated classes
2) Create a COM wrapper so any .Net language could use it (easy task)
3) Write mixed assembly
So my question is what is your opinion - should I create COM or Mixed
Assembly?
Thanks in advance:
Trever