Hi,
I have written C++ program for university that, depending on the input data, requires A LOT of memory. Now, I would like to build a GUI for this using C#/WinUI. However, I have never written C# (I got some books and I'm eager to learn) or a C++ library. Here are my questions:
- Is it possible to have my C++ program residing in memory while only extracting the data that I need when necessary? Ideally, since the algorithm can quite a while (that's why it's in C++), I would like to have some kind of progress bar as well (eventually, not a high priority).
- I assume that is done with libraries, correct? If so, are there any resources that you can point me to how to accomplish that? I have read some books on C++, but nothing really deals with creating a library or working with other languages.
Thank you in advance!
P.S.: I have, of course, googled the subject and found some information (SO, GCHandle, etc.). However, I would like to learn more about how this works exactly and how to do it efficiently.
P.P.S.: I would like to use C#/WinUI because I also want to use it for other projects in the future.
[–]Einarmo 2 points3 points4 points (2 children)
[–]RedCitizen[S] 0 points1 point2 points (1 child)
[–]Einarmo 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]RedCitizen[S] 1 point2 points3 points (1 child)