Like in my previous questions, I want to plot a realtime graph for tracking the laser scanner object position. I have developed the algorithm in vs2010 c++ as a win32 application with /clr support. where I find the exact position(x,y) of the object at each scan.But I want the .NET for the GUI purpose. I already used Zedgraph for plotting in c#.Now, I want to call the C# form from c++. I am searching for the answers since yesterday and I found out we can do that using
I tried adding the reference of the c# dll inside the c++.But I dont know how to invoke them from c++. I am looking for a document or link for doing either of them from a beginner point of view. Any inputs or suggestions would be helpful.
You most probably want to invert your structure here and call the Managed C++ library from your C# GUI. From C# you can instatiate the C++ monitoring object and start taking the readings, receive them and then display the results in the GUI.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.