About 35,700 results
Open links in new tab
  1. 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 …

  2. MFC Application and stdout - social.msdn.microsoft.com

    If possible, what is the best way to write to standard output (or standard error) from a VS C++ MFC Windows Application? I want to be able to print a a few lines of text to standard output …

  3. How to forward declare a method in C++/CLI to match the …

    Dec 1, 2010 · I just want to call one of the methods. In order to do this, since I'm calling from within the same assembly, I need to forward declare the method in the c++/cli code (I can't …

  4. Using C++ unmanaged dll in Web Application developed in C#

    Sep 4, 2012 · A simple C# web application, which has to load a dll (unmanaged) written in C++ and invoke the functions written in C++ from the dll.

  5. HomeSite/bootstrapper for Visual C++ Runtime Libraries (x86)

    Mar 5, 2009 · Here is a great bootstrapper package information and source code Microsoft Visual C++ 2008 SP1 Redistributable Package. Treated: x86, x64, IA64 and ALL! localized version! …

  6. How to call C# dll from C++ - social.msdn.microsoft.com

    Feb 22, 2013 · How to call a c# dll from C++ code. Please share any sample code or any link related to this which have code. Thanks in advance.

  7. AccessViolationException is occured when passing pointers from …

    Nov 24, 2011 · However, since I changed the .net framework version, AccessViolationException has been occured when a managed c++ function passes a pointer to an unmanaged c++ …

  8. Not able to debug (step into) into the function/method (C++) of …

    Jan 11, 2013 · I've implemented a static library in C and windows phone runtime component which is C++ based and a windows phone app (C# based). I'm getting the expected output …

  9. c++ header in c# - social.msdn.microsoft.com

    Jul 31, 2014 · You should compile the C++ object to a dll or WinRT Component and use that in a C# app. There is no other way that I am aware of to use C++ header in C#. Matt Small - …

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

    May 8, 2012 · 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.