choice between win32 APIs and .NET framework

前端 未结 5 2083
你的背包
你的背包 2021-02-09 00:36

I have to develop an application for windows that will enable controlling the mouse through web cam by recognizing hand gestures. I will be using vc++ 2008 for development. But

5条回答
  •  不要未来只要你来
    2021-02-09 01:26

    Unless you are a very experienced C++, programmer, C# is a much more productive language (speaking as someone with over 15 years C++ experience and 2 years C#).

    The .Net libraries offer a wealth of high-quality functionality that's easier to use than the standard C++ library.

    So, I'd go with using .Net.

    I also recommend using C++/CLI to directly call complex native libraries if you have to integrate them, rather than P/Invoke. That's good for odd calls but doesn't let you easily access data structures or mingle native and managed code.

提交回复
热议问题