Click here to Skip to main content
16,006,605 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralDestructors in MC++ Pin
Jeremy Osner29-Aug-03 10:03
Jeremy Osner29-Aug-03 10:03 
GeneralRe: Destructors in MC++ Pin
Tom Archer29-Aug-03 13:14
Tom Archer29-Aug-03 13:14 
GeneralRe: Destructors in MC++ Pin
Nemanja Trifunovic30-Aug-03 9:13
Nemanja Trifunovic30-Aug-03 9:13 
GeneralRe: Destructors in MC++ Pin
Tom Archer1-Sep-03 3:39
Tom Archer1-Sep-03 3:39 
GeneralRe: Destructors in MC++ Pin
Nemanja Trifunovic2-Sep-03 5:13
Nemanja Trifunovic2-Sep-03 5:13 
GeneralRe: Destructors in MC++ Pin
Krista Crawley-Archer2-Sep-03 6:25
Krista Crawley-Archer2-Sep-03 6:25 
GeneralUsing CString in MC++ project Pin
Katamneni26-Aug-03 20:53
Katamneni26-Aug-03 20:53 
GeneralRe: Using CString in MC++ project Pin
Tom Archer27-Aug-03 0:21
Tom Archer27-Aug-03 0:21 
Are you making sure to pin the String object's memory so that the GC doesn't move it once you've converted it? For example, the following code would convert a String to a __wchar_t type (note the pin keyword).

<br />
#include <vcclr.h><br />
//...<br />
String* s = S"Hello";<br />
const __wchar_t __pin * str = PtrToStringChars(s);<br />



Cheers,
Tom Archer
Inside C#,
Extending MFC Applications with the .NET Framework
It's better to listen to others than to speak, because I already know what I'm going to say anyway. - friend of Jörgen Sigvardsson
GeneralRe: Using CString in MC++ project Pin
Katamneni27-Aug-03 19:13
Katamneni27-Aug-03 19:13 
GeneralRe: Using CString in MC++ project Pin
Tom Archer28-Aug-03 3:26
Tom Archer28-Aug-03 3:26 
GeneralRe: Using CString in MC++ project Pin
igor196028-Aug-03 13:24
igor196028-Aug-03 13:24 
GeneralRe: Using CString in MC++ project Pin
igor196028-Aug-03 13:45
igor196028-Aug-03 13:45 
GeneralUsing CString in MC++ project Pin
Katamneni26-Aug-03 20:52
Katamneni26-Aug-03 20:52 
GeneralWindows Forms and .NET controls in MFC application Pin
Member 45183026-Aug-03 20:15
Member 45183026-Aug-03 20:15 
GeneralGetting Subclassed Components to display in form view Pin
Gomac25-Aug-03 12:22
Gomac25-Aug-03 12:22 
GeneralUsing Delete In MC++ Pin
Gomac25-Aug-03 12:13
Gomac25-Aug-03 12:13 
GeneralRe: Using Delete In MC++ Pin
Tom Archer25-Aug-03 12:17
Tom Archer25-Aug-03 12:17 
GeneralUse MessageBox in Windows Forms Pin
RafMar25-Aug-03 5:10
RafMar25-Aug-03 5:10 
GeneralRe: Use MessageBox in Windows Forms Pin
Tom Archer25-Aug-03 12:24
Tom Archer25-Aug-03 12:24 
GeneralRe: Use MessageBox in Windows Forms Pin
RafMar25-Aug-03 20:23
RafMar25-Aug-03 20:23 
GeneralCCW and namespace Pin
devvvy25-Aug-03 0:16
devvvy25-Aug-03 0:16 
GeneralRe: CCW and namespace Pin
Nick Parker26-Aug-03 1:22
protectorNick Parker26-Aug-03 1:22 
GeneralRe: CCW and namespace Pin
devvvy26-Aug-03 4:15
devvvy26-Aug-03 4:15 
GeneralRe: CCW and namespace Pin
Anthony_Yio26-Aug-03 1:36
Anthony_Yio26-Aug-03 1:36 
Generalconvert this C# declaration to MC++ Pin
devvvy23-Aug-03 17:35
devvvy23-Aug-03 17:35 

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.