Click here to Skip to main content
15,881,757 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Adding gtkmm lib to visual studio 2015 Pin
Alexandre Bencz23-Sep-16 8:53
Alexandre Bencz23-Sep-16 8:53 
QuestionMFC CDialogBar drawing issue on High DPI screen Pin
Taiming J4-Sep-16 23:06
Taiming J4-Sep-16 23:06 
NewsMicrosoft wants to hear about issues C++/CLI devs are having Pin
John Schroedl23-Aug-16 8:28
professionalJohn Schroedl23-Aug-16 8:28 
SuggestionRe: Microsoft wants to hear about issues C++/CLI devs are having Pin
Richard Deeming23-Aug-16 8:31
mveRichard Deeming23-Aug-16 8:31 
GeneralRe: Microsoft wants to hear about issues C++/CLI devs are having Pin
John Schroedl23-Aug-16 8:34
professionalJohn Schroedl23-Aug-16 8:34 
GeneralRe: Microsoft wants to hear about issues C++/CLI devs are having Pin
Richard Deeming23-Aug-16 8:50
mveRichard Deeming23-Aug-16 8:50 
Questionpin_ptr versus interior_ptr Pin
John Schroedl23-Aug-16 8:04
professionalJohn Schroedl23-Aug-16 8:04 
AnswerRe: pin_ptr versus interior_ptr Pin
Jon McKee31-Oct-16 16:29
professionalJon McKee31-Oct-16 16:29 
A wee bit late but if you're still curious:

interior_ptr<T> is useful if you need pointer arithmetic in managed code or a pointer that can reference a managed or native object. It doesn't pin the referenced object and instead gets updated by the CLR when the object moves just like a handle. Can be useful for some functions that can operate on managed and native objects as a native pointer can be passed to an interior_ptr<T> argument.

pin_ptr<T> is useful if you want a managed object that can be referenced by native code. It stops the GC from moving the object so the object's address can be safely assigned to a native pointer as long as the pin_ptr<T> is alive. You see this used a lot when people manually marshal System::String to a char*.

Cheers!
GeneralRe: pin_ptr versus interior_ptr Pin
John Schroedl1-Nov-16 1:58
professionalJohn Schroedl1-Nov-16 1:58 
QuestionIs it possible to create something invisible to a human eye Pin
MCSIDevelopers18-Aug-16 10:39
MCSIDevelopers18-Aug-16 10:39 
AnswerRe: Is it possible to create something invisible to a human eye Pin
Richard MacCutchan18-Aug-16 22:29
mveRichard MacCutchan18-Aug-16 22:29 
GeneralRe: Is it possible to create something invisible to a human eye Pin
MCSIDevelopers19-Aug-16 1:43
MCSIDevelopers19-Aug-16 1:43 
GeneralRe: Is it possible to create something invisible to a human eye Pin
Richard MacCutchan19-Aug-16 1:57
mveRichard MacCutchan19-Aug-16 1:57 
GeneralRe: Is it possible to create something invisible to a human eye Pin
MCSIDevelopers20-Aug-16 12:46
MCSIDevelopers20-Aug-16 12:46 
GeneralRe: Is it possible to create something invisible to a human eye Pin
Richard MacCutchan20-Aug-16 20:41
mveRichard MacCutchan20-Aug-16 20:41 
QuestionString concatenation using operator overloading Pin
kinderu4-Aug-16 0:32
kinderu4-Aug-16 0:32 
QuestionRe: String concatenation using operator overloading Pin
Richard MacCutchan4-Aug-16 1:17
mveRichard MacCutchan4-Aug-16 1:17 
AnswerRe: String concatenation using operator overloading Pin
KarstenK29-Nov-16 5:58
mveKarstenK29-Nov-16 5:58 
QuestionNeed help with managed C++ dll so unmanaged C++ program can use third party c# dll Pin
garyflet18-Jul-16 10:46
garyflet18-Jul-16 10:46 
AnswerRe: Need help with managed C++ dll so unmanaged C++ program can use third party c# dll Pin
garyflet19-Jul-16 5:58
garyflet19-Jul-16 5:58 
QuestionInheritance classes Pin
kinderu16-Jul-16 10:10
kinderu16-Jul-16 10:10 
AnswerRe: Inheritance classes Pin
Richard MacCutchan16-Jul-16 21:18
mveRichard MacCutchan16-Jul-16 21:18 
Questionextract audio from video Pin
Member 1223658412-Jul-16 2:38
Member 1223658412-Jul-16 2:38 
AnswerRe: extract audio from video Pin
Richard MacCutchan12-Jul-16 5:28
mveRichard MacCutchan12-Jul-16 5:28 
QuestionIn Microsoft Visual C++ how to use sub threads to achieve similar CListCtrl ? Pin
zhaoshan313@163.com29-Jun-16 3:50
zhaoshan313@163.com29-Jun-16 3:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.