About 12,400 results
Open links in new tab
  1. TCP KeepAliveTime, KeepAliveInterval in MFC

    I wrote an MFC (VS2010) application that uses the KeepAliveTime and KeepAliveInterval settings to monitor a socket (not showing the code here to save time). The code works fine and it does what I …

  2. C++ COM/OLE Equivalents of CreateObject () and GetObject ()

    I have written an application in C++ using COM/OLE interfaces (mostly IDispatch) to build an Excel workbook with several worksheets. That is all working correctly.

  3. C++11 enum class, C++/CLI and forward enum declarations

    May 2, 2014 · So one of the new features in C++11 is "enum class" which is great and there is the ability to forward declare enums, also great.

  4. 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 …

  5. 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++.

  6. How to save Windows::UI::Xaml::Controls::Image^ to the .jpg or png file ...

    Jan 17, 2014 · This isn't a C# vs. C++ problem: the code you have is for WPF and isn't relevant to Windows Store apps in any language. You will need to save out your image at the DirectX level …

  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. Intellisence error: a local lambda is not allowed in a member function ...

    Sep 6, 2012 · The syntax of C++/Cx is similar to C++/CLI but indeed it creates only native WinRT types . In your snippet above, you encountered 2 issues: - The Intellisense issue around generics is a …

  9. 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 …

  10. How to convert IStream to Base64 string in c++

    Nov 26, 2019 · I have C++ IStream and I want to convert it to base 64 string in c++ so that I can use it in C++/cli to convert it to .net stream.