Click here to Skip to main content
14,692,225 members
Home » Discussions » Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Reverse No program Pin
Richard MacCutchan7-Sep-14 22:23
mveRichard MacCutchan7-Sep-14 22:23 
QuestionSystem.AccessViolationException - Returning from cpp dll Pin
ToolMaker200716-Aug-14 5:25
MemberToolMaker200716-Aug-14 5:25 
AnswerRe: System.AccessViolationException - Returning from cpp dll Pin
Member 1048772028-Aug-14 22:45
MemberMember 1048772028-Aug-14 22:45 
Questionneed help with creating a clr dll Pin
neodeaths13-Aug-14 22:57
Memberneodeaths13-Aug-14 22:57 
AnswerRe: need help with creating a clr dll Pin
Richard MacCutchan13-Aug-14 23:26
mveRichard MacCutchan13-Aug-14 23:26 
QuestionHow to sound recorder c++ Pin
4manes6-Jul-14 23:58
Member4manes6-Jul-14 23:58 
AnswerRe: How to sound recorder c++ Pin
Richard MacCutchan7-Jul-14 3:46
mveRichard MacCutchan7-Jul-14 3:46 
QuestionDumb question about event arguments Pin
Member 1031630012-Jun-14 21:21
MemberMember 1031630012-Jun-14 21:21 
Hoping somebody can help me with this. I looked for this issue coming up before, but I wasn't able to find anything. May be just my search skills...

Here's the question:

I have a class that generates events, using a custom event args class. That event args class contains a pointer to a large array. Something like this:

public ref struct MyEventArgs : EventArgs {

  array<UInt16>^  imageData;
  ...
}


When this event gets activated, does the event args structure get cloned for each object instance that subscribes to the event, or is there a single instance of the event object with each event handler getting a managed pointer to the same object?

What I'm really getting to is whether the large array gets cloned for each event handler. I'm guessing no.

Many thanks in advance for any pointers (no pun intended...)
AnswerRe: Dumb question about event arguments Pin
John Schroedl13-Jun-14 9:05
professionalJohn Schroedl13-Jun-14 9:05 
GeneralRe: Dumb question about event arguments Pin
Member 1031630013-Jun-14 9:50
MemberMember 1031630013-Jun-14 9:50 
Ranthow to work with window in c++ Pin
TomTomtz30-May-14 13:02
MemberTomTomtz30-May-14 13:02 
GeneralRe: how to work with window in c++ Pin
Wes Aday30-May-14 13:29
professionalWes Aday30-May-14 13:29 
GeneralRe: how to work with window in c++ Pin
Richard MacCutchan30-May-14 23:08
mveRichard MacCutchan30-May-14 23:08 
GeneralRe: how to work with window in c++ Pin
WuRunZhe19-Jun-14 6:39
MemberWuRunZhe19-Jun-14 6:39 
QuestionCount from 1 to 1000 without using loops Pin
Amrit Agr26-May-14 1:09
MemberAmrit Agr26-May-14 1:09 
AnswerRe: Count from 1 to 1000 without using loops Pin
Richard MacCutchan26-May-14 1:42
mveRichard MacCutchan26-May-14 1:42 
GeneralRe: Count from 1 to 1000 without using loops Pin
Amrit Agr26-May-14 22:09
MemberAmrit Agr26-May-14 22:09 
GeneralRe: Count from 1 to 1000 without using loops Pin
WuRunZhe19-Jun-14 6:44
MemberWuRunZhe19-Jun-14 6:44 
GeneralRe: Count from 1 to 1000 without using loops Pin
Richard MacCutchan19-Jun-14 7:02
mveRichard MacCutchan19-Jun-14 7:02 
GeneralRe: Count from 1 to 1000 without using loops Pin
WuRunZhe19-Jun-14 16:01
MemberWuRunZhe19-Jun-14 16:01 
QuestionBackground Image causes exception on startup but works in Forms Editor Pin
David W. Griffin20-May-14 9:36
MemberDavid W. Griffin20-May-14 9:36 
Questioncompiling makefile Pin
MikcaCP19-May-14 12:11
MemberMikcaCP19-May-14 12:11 
AnswerRe: compiling makefile Pin
Wes Aday19-May-14 14:28
professionalWes Aday19-May-14 14:28 
AnswerRe: compiling makefile Pin
Richard MacCutchan19-May-14 22:45
mveRichard MacCutchan19-May-14 22:45 
AnswerRe: compiling makefile Pin
Erik Westermann11-Jul-14 5:48
professionalErik Westermann11-Jul-14 5:48 

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.