got some errors in c plus plus/cli the codes. how to fix?
I tried to ask chatgpt and co-pilot for help but they both couldn’t fix it.
got some errors in c plus plus/cli the codes. how to fix?
I tried to ask chatgpt and co-pilot for help but they both couldn’t fix it.
got some errors in c plus plus/cli the codes. how to fix?
I tried to ask chatgpt and co-pilot for help but they both couldn’t fix it.
Is C++.Net used extensively?
I am a C++ coder by tradition. Over the last 12 months or so I have been doing a lot of C# coding, and have been pleasantly surprised by C#’s pragmatic approach (once I stopped trying to code it as if it was “C++ with garbage collection”).
Issue in compiling with marshal.h : error C2872: ‘IServiceProvider’ : ambiguous symbol
I am trying to use the marshalling library in my C++/CLI project. When compiled with #include <msclr/marshal.h>
I get the error error C2872: 'IServiceProvider' : ambiguous symbol
. Most of the resolutions seems to be suggesting moving #include <windows.h>
like the one here -> Ambiguous references, but I dont have those includes. All I have is:
Adding explicit interfaces to Legacy managed C++ code
I have a bit of a challenge and I am not sure how to approach this.
We have a very very large project (that is about 5 years old).
The code base is HUGE so a full refactor is out of the question.