Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/forums/vstud…
Storing a pointer to an object - social.msdn.microsoft.com
1 To mean what C++ would call a pointer - e.g if you have SomeClass myObj; then myObj is a reference variable in .Net-speak, or a pointer to an object of type SomeClass in C++ speak. 2 In parameter passing where a parameter passed as ref can be changed by the method so as to affect its value outside the method.
Global web icon
microsoft.com
https://social.msdn.microsoft.com/Forums/vstudio/e…
Problem Reparing or Uninstalling Microsoft Visual C++ 2012 ...
Question 0 Sign in to vote I have some problem reparing or uninstralling Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.60610 He tell me: Setup failed
Global web icon
microsoft.com
https://social.msdn.microsoft.com/Forums/vstudio/e…
Allocate memory in a C++ dll, use in C# app
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 of new from C++, and System::Runtime::InteropServices::FreeCoTaskMem from C# to free it. Any method of allocating memory from C++ other than these two will require what you suggested -- writing another function ...
Global web icon
microsoft.com
https://social.msdn.microsoft.com/Forums/vstudio/e…
Compiling C++ template source code, diagnose of compilation errors
I work with VS 2015 on large C++ project where are used C++ 11 features like: variadic templates, function objects created with lambdas, variants, function objects base on std::function and other all possible modern C++ 11 features. I have problems to compile several pieces of code which is buildable and runable with CLang and G++ .
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/en-US…
FTP to SFTP - social.msdn.microsoft.com
MFC is not part of the C++ language, so a better place for MFC question is the VC General forum, which covers VC libraries. The C++ language forum does not cover everything you can do in the C++ language--otherwise it would overlap with all other .Net and Windows SDK forums.
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/en-US…
[UWP] [C++] [Bluetooth]Microsoft C++ exception: Platform ...
I'm developing a C++ Regular dll Dynamically linked to MFC (Microsoft Foundation Class libraries) that consumes WRT extension. The dll is intended to provide methods that interact with the BLE devices in range.
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/en-US…
c++ program to validate phone number whether they are active or ...
I never have written such a program in c++ , so need some help with it, but i did managed to write a DLL program in C# which includes the function Get_Status, and returns the String Of Arrays, so i can i use in in C++ Windows Form Project.
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/vstud…
C++/CLI Wrapper for Unmanaged DLL - social.msdn.microsoft.com
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 the methods are static, then just create a managed class with static methods that call the ones in the unmanaged class.
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/en-US…
C++; How to control timer from another form?
These concepts are fundamental to OOP programming in nay language, and I would advise you to study them in a simpler setting than WinForms in C++/CLI, for example a console program in standard C++.
Global web icon
microsoft.com
https://www.social.msdn.microsoft.com/Forums/vstud…
Passing std::vector<const char*> from C++ to C# with or without COM
In the C++ world, this will be called by passing a SAFEARRAY of BSTR's. So you need to convert your std::vector<const char*> to a SAFEARRAY of BSTR's first and pass that as the input parameter to your C# routine.