About 13,300 results
Open links in new tab
  1. Trying to change Targeted framework in VS2010

    Oct 11, 2012 · To change the version of the .NET Framework for C++/CLI projects (VS 2010) Right click on project in Solution Explorer and click Unload project Right click on unloaded project in Solution …

  2. How to get the status of Win32_OperatingSystem class using C++

    Jun 6, 2008 · Anyone can give me solutions on how to get the status of Win32_OperatingSystem class using C++.

  3. advantages of C++ over c# - social.msdn.microsoft.com

    Aug 17, 2016 · C++ allows code that might not be valid for all type parameters in the template, which is then checked for the specific type used as the type parameter. C# requires code in a class to be …

  4. error C3984: a non-value type cannot have any public data members

    Oct 22, 2012 · I am new to Visual C++, and trying to learn the rules. In my project I have a simple class, which is really more of a struct, but with some constructors for ease of use.

  5. Linking a native C++ dll to managed C++/CLI

    Sep 10, 2010 · The path I'm trying to take is as follows: Write Renderer in native C++ compile to dll, write C++/CLI wrapper for said dll then compile that to a dll which I should be able to call from C#. …

  6. Allocate memory in a C++ dll, use in C# app

    Dec 6, 2009 · One option is to use LocalAlloc in your C++ code instead of new; this could be freed in C# using System::Runtime::InteropServices::FreeHGlobal. Another is to use CoTaskMemAlloc instead …

  7. Msbuild for C++ projects does not honor TreatWarningsAsErrors option

    Oct 3, 2011 · In the c++ or clr/c++, the TreatWarningsAsErrors is not a property. So the msbuild does not honor TreatWarningsAsErrors option. If we want to set it to true , we can add …

  8. C++/CLI Wrapper for Unmanaged DLL - social.msdn.microsoft.com

    Mar 13, 2013 · I have an unmanaged C++ DLL with a number of static functions that I need to call from C#. What do I need to do in a C++/CLI wrapper to be able to call the static functions from C#? If all …

  9. Interop C++ --> COM --> C#

    Apr 24, 2011 · I have a C++ DLL that is calling functions from a C# DLL using COM. The C++ dll is more or less of a wrapper.

  10. Can C++ code call C++/CLI code? - social.msdn.microsoft.com

    Mar 21, 2008 · Managed C++ is new to me, so I'm sorry if this is a stupid question. However, I am trying to call Managed C++ (CLI) from my existing native C++ projects without changing my existing code …