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

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

  3. 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! …

  4. c++ std::map<std::string, std::vector<std::string>> &dataStrings) …

    Nov 16, 2018 · The marshaling performed in connection with using P/Invoke to call an unmanaged function from C# doesn't know anything about the container classes used by the …

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

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

  7. Fail Read Int64 value from binary file created by C++

    Oct 16, 2012 · I tried to read the data by using binary read (based on position) and use bitconverter to convert to int64 or using Marshal.PtrToStructure, but the value return is …

  8. 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.

  9. Problem Marshalling Fixed Sized Structure from C++ to C#

    Jun 24, 2010 · C++ long is 32bits, that's an int in C#. To pass a pointer to a structure, you use ref (in/out parameter) or out (out parameter). public static extern int GetDeviceInfo (int DeviceId, …

  10. How to do strong-naming in C++ - social.msdn.microsoft.com

    Jun 27, 2011 · I have a project that I wish to use a strong-naming file with. The problem is, I don't know how to do it. In C# and VB.NET, all you had to do is open the Signing tab on the project …