I would like to create a C # project and implement existing native (C ++) code. Does anyone know of any good guidance on this?
Thanks!
You can use P / Invoke, and you can call unmanaged methods. I will give you some examples: This is a link to the official MSDN documentation. This is a community website with most common unmanaged Windows libraries, along with signatures and sample methods
++ ( ), , ++, - # ( ..) " ".
, , , #, ++.
++/CLI , .
CodeProject .
++/CLI Action CodeProject, ++/CLI .
P/Invoke , , , , :
MSDN .
++.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmg_accessingcodefromframeworkobjects.asp
, - ++/CLI, ++. ++ .Net, # . MSDN ++/CLI.
Interop C. ++.
, , , , : ++ ++/CLI . #. ++ - :
dotNetForm->Text = S"My Project"; // regular managed code ::SetWindowText(dotNetForm->Handle, "Your Project"); // mixed managed/unmanaged
# P/Invoke SetWindowText - , : , , ++ - , (.. ).