I'm writing a GUI for a C++ program I have already written. Currently I need to either port a section of C++ code using MFC to the C# program, or use a wrapper and call the functions from C#. I'd like to be able to create cWinThreads to do some work and be able to control them from my C# GUI by calling setThreadPriority( ... );
and setProcessPriority( ... )
My question is: Should I wrap? Or is there an equivalent cWinThread, thread priority setting, and process priority setting alternative in C#? I've looked at some info on wrappers, and the tutorials are still a little hazy... after I've wrapped the C++ code should I compile it into its own DLL?
also I have 1 day of experience in C#, so thanks for any help/links you've got for me.
:)