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

Managed C++/CLI

 
QuestionCompiling error for Clipboard.SetDataObject(). Pin
robert tian guo23-May-06 4:47
robert tian guo23-May-06 4:47 
AnswerRe: Compiling error for Clipboard.SetDataObject(). [modified] Pin
George L. Jackson23-May-06 9:34
George L. Jackson23-May-06 9:34 
GeneralRe: Compiling error for Clipboard.SetDataObject(). [modified] Pin
robert tian guo23-May-06 14:32
robert tian guo23-May-06 14:32 
GeneralRe: Compiling error for Clipboard.SetDataObject(). [modified] Pin
George L. Jackson24-May-06 3:15
George L. Jackson24-May-06 3:15 
QuestionHow Can I play the music on my game Pin
Squallkin8423-May-06 4:08
Squallkin8423-May-06 4:08 
QuestionProto type mismatch Pin
satsumatable22-May-06 23:57
satsumatable22-May-06 23:57 
QuestionReading memory Pin
satsumatable22-May-06 17:32
satsumatable22-May-06 17:32 
QuestionCreating new managedObject[100] in C++ Pin
StevenS_Dev22-May-06 12:35
StevenS_Dev22-May-06 12:35 
I am trying to create something along the lines this type of C++ code:

Point* myPoints = new Point[200];

I have C++ code which contains a series of points and I would like to convert them to System::Drawing::Point. I can get a single point to work:

System::Drawing::Point* thePoints = __nogc new System::Drawing::Point(1,2);

but am unable to compile when using an array of points. I have tried several different iterations using the following line of code. I've tried various versions of __gc and __nogc. I've tried System::Drawing::Point[] instead of '*'.

System::Drawing::Point* thePoints = new System::Drawing::Point[200];

Any help will be greatly appreciated. Other parts of my code work. I am able to display my C# Form from C++ just fine.
AnswerRe: Creating new managedObject[100] in C++ Pin
George L. Jackson23-May-06 2:01
George L. Jackson23-May-06 2:01 
GeneralRe: Creating new managedObject[100] in C++ Pin
StevenS_Dev23-May-06 7:38
StevenS_Dev23-May-06 7:38 
QuestionOverriding void Dispose(bool disposing) in C++/CLI? Pin
Filip Strugar20-May-06 14:37
Filip Strugar20-May-06 14:37 
AnswerRe: Overriding void Dispose(bool disposing) in C++/CLI? [modified] Pin
George L. Jackson20-May-06 15:44
George L. Jackson20-May-06 15:44 
AnswerRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Dave Doknjas20-May-06 19:25
Dave Doknjas20-May-06 19:25 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Filip Strugar22-May-06 22:34
Filip Strugar22-May-06 22:34 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
George L. Jackson23-May-06 1:57
George L. Jackson23-May-06 1:57 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Dave Doknjas23-May-06 12:31
Dave Doknjas23-May-06 12:31 
QuestionMixing native and managed code Pin
Saurabh.Garg19-May-06 18:44
Saurabh.Garg19-May-06 18:44 
AnswerRe: Mixing native and managed code Pin
georgeraafat23-May-06 12:50
georgeraafat23-May-06 12:50 
QuestionSerialization Issue with Int32 Pin
jmlstele19-May-06 9:51
jmlstele19-May-06 9:51 
AnswerRe: Serialization Issue with Int32 Pin
georgeraafat23-May-06 13:17
georgeraafat23-May-06 13:17 
GeneralRe: Serialization Issue with Int32 Pin
jmlstele29-May-06 1:22
jmlstele29-May-06 1:22 
QuestionUndocumented problem with for each Pin
jmlsteele19-May-06 9:14
jmlsteele19-May-06 9:14 
GeneralRe: Undocumented problem with for each Pin
jmlstele19-May-06 9:18
jmlstele19-May-06 9:18 
AnswerRe: Undocumented problem with for each Pin
Nish Nishant19-May-06 10:10
sitebuilderNish Nishant19-May-06 10:10 
QuestionIs it possible to write a parser which will find.... Pin
SasikumarRenjith19-May-06 1:23
SasikumarRenjith19-May-06 1:23 

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.