I have good knowledge in C# and C++. But I am totally new to COM programming. I am converting some code from VC++ to C#. But VC++ code involves a lot of COM keywords like STDMETHODIMP, STDMETHODCALLTYPE, __declspec, HRESULT, and other COM Programming concepts. I didn't get what are these COM terminologies.
But since I can understand C++, I am able to understand the logic involved in the VC++ code and convert this logic to C# implementation IGNORING the COM terminologies.
Some functions in my VC++ code are having the returning type STDMETHODIMP and they are just returning S_OK or E_FAIL etc.. How shall I proceed with my conversion to C#? What should I return in my C# code for these VC++ functions which are returning S_OK E_FAIL and what return type should I use in my C# code instead of STDMETHODIMP?
In fact there are many such COM terminologies in my VC++ code like "skippedEntity()" "processingInstruction()" etc.. In fact this VC++ code is making use of a DLL called "msxml6.dll". And implementing the interface methods in it. So, is it ok if I IGNORE these COM Terminologies and proceed implementing the logic invloved in VC++ code to C#.
Kindly let me know same..
Since COM is an Alien concept to me, sorry if I am asking some silly doubt or meaningless doubt..
Thanks In Advance..