I was wondering – how much limitation is there to C++/CLI compared to classic C++ (chuckle) – I was wanting to write an application that I cannot do with c# — I was wanting to be able to connect to the PC’s audio device and detect audio (for example) – Is this something I can do with C++/CLI?
I have tried using NAudio with c#, but i have been able to do this. What other advantages would C++/CLI or C++ give me over c#?
Disclaimer: C++ is my favorite language, so I’m a bit biased against Virtual Machines like the CLR.
What other advantages would C++/CLI or C++ give me over c#?
Personally I’d never use C++/CLI unless I needed to wrap an existing C++ codebase for use in .NET. C++/CLI seems to have all the warts of C++ and .NET combined into one hacky solution. If .NET is your primary target, I’d use C# — it’s going to make your job a whole lot easier.