Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Thu Oct 27, 2016 1:29 pm Post subject: Using C# functions in C++/CLI? |
|
|
Is there a way to use C# class/functions in C++/CLI project?
I want to retrieve data from html, and in C# it is easier to do it (according to my research, C# uses the WebClient class to do it). Since I have already written my project in managed C++, is there a way to call the C# function in managed C++?
I have done some research, maybe it can be done by referring to a C# library that contains the function? If so, how to do it correctly? A simple example would be very helpful.
Thanks in advance for your time.
Edit: Oops, it seems WebClient class can also be used in manged C++. Please ignore this post. Sorry.
|
|