开发者

How and which technology (.NET-WinForms,C++-MIDI MFC based) is the best to use for reading and writing COM Port data?

开发者 https://www.devze.com 2023-04-12 04:56 出处:网络
I need to solve a problem for reading and writing COM Port data from MIDI application. 1)The software must be able to handle multiple MIDI In and MIDI Out ports simultaneously sending and receiving M

I need to solve a problem for reading and writing COM Port data from MIDI application.

1)The software must be able to handle multiple MIDI In and MIDI Out ports simultaneously sending and receiving MIDI data without choking off performance for the application (this will include audio as well).

I am using a modified version of the old Mabry MIDIIO already, MFC COM server in a shared .dll, written in c++. It is currently be compiled down into an .ocx and requires COM registration. It is working in the Visual Studio 2008 environment

But A total rewrite or different solution is a viable option but of course with the fastest, most inexpensive and easiest to maintain solution.

Here are the questions:

1)What direction would you recommend COM control or .net control, .dll, multi-thread, something else and why? If anybody having idea about MABRY Control, Do you think the Mabry control could be reworked into my new solution or would it be better to just take a totally different direction?

2)What is the开发者_如何学Python recommendation? an unmanaged or managed solution?

Regards Usman

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号