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

Managed C++/CLI

 
AnswerRe: How to create C# Control for any language Pin
Paul Conrad19-Sep-08 4:02
professionalPaul Conrad19-Sep-08 4:02 
QuestionDll throws when loaded from a network path Pin
doug_ayers17-Sep-08 5:25
doug_ayers17-Sep-08 5:25 
AnswerRe: Dll throws when loaded from a network path Pin
Scott Dorman17-Sep-08 6:18
professionalScott Dorman17-Sep-08 6:18 
GeneralRe: Dll throws when loaded from a network path Pin
doug_ayers17-Sep-08 9:19
doug_ayers17-Sep-08 9:19 
GeneralRe: Dll throws when loaded from a network path Pin
Scott Dorman17-Sep-08 9:37
professionalScott Dorman17-Sep-08 9:37 
QuestionCallback and buffer overrun message Pin
Robert Swan16-Sep-08 11:28
Robert Swan16-Sep-08 11:28 
QuestionRe: Callback and buffer overrun message Pin
Mark Salsbery16-Sep-08 11:48
Mark Salsbery16-Sep-08 11:48 
AnswerRe: Callback and buffer overrun message Pin
Robert Swan17-Sep-08 11:49
Robert Swan17-Sep-08 11:49 
None that I can see.
Normally the error is flagged when the callback is returning to the unmanaged code. The .net code that does all the cleanup and overrun checks as part of the return statement detects that the marker bytes have been modified.
I have run the code with visual studio monitoring the memory locations, (a breakpoint that continues when triggered) I can see that the markers are being overwritten. I can see that the data corrupts, but not what is doing it. This occurs even when all I am doing is calling the callback from a loop, and that does nothing except return.
In the original unmanaged code there were number of cout statements
which tended to flag the error, especially if you piped several items to the output. But I believe that was just because they also ran code that performed clean up checks. They also don't appear in my simple system.

I have ruled out the hardware problems as this occurs under Windows XP + studio 2005 or Windows 200 +studio 2008 Express.


I feel sure its something stupidly obvious.

BoB Swan
GeneralRe: Callback and buffer overrun message Pin
Robert Swan11-Oct-08 9:26
Robert Swan11-Oct-08 9:26 
GeneralRe: Callback and buffer overrun message Pin
Mark Salsbery11-Oct-08 9:35
Mark Salsbery11-Oct-08 9:35 
QuestionHandles and destructors - C++/CLI Pin
N a v a n e e t h15-Sep-08 16:41
N a v a n e e t h15-Sep-08 16:41 
AnswerRe: Handles and destructors - C++/CLI Pin
George L. Jackson16-Sep-08 6:53
George L. Jackson16-Sep-08 6:53 
GeneralRe: Handles and destructors - C++/CLI Pin
N a v a n e e t h16-Sep-08 19:19
N a v a n e e t h16-Sep-08 19:19 
GeneralRe: Handles and destructors - C++/CLI Pin
Scott Dorman17-Sep-08 1:29
professionalScott Dorman17-Sep-08 1:29 
AnswerRe: Handles and destructors - C++/CLI Pin
Scott Dorman17-Sep-08 1:28
professionalScott Dorman17-Sep-08 1:28 
GeneralRe: Handles and destructors - C++/CLI Pin
N a v a n e e t h17-Sep-08 2:04
N a v a n e e t h17-Sep-08 2:04 
GeneralRe: Handles and destructors - C++/CLI Pin
Scott Dorman17-Sep-08 3:06
professionalScott Dorman17-Sep-08 3:06 
GeneralRe: Handles and destructors - C++/CLI Pin
N a v a n e e t h17-Sep-08 5:17
N a v a n e e t h17-Sep-08 5:17 
GeneralRe: Handles and destructors - C++/CLI Pin
N a v a n e e t h17-Sep-08 16:47
N a v a n e e t h17-Sep-08 16:47 
GeneralRe: Handles and destructors - C++/CLI Pin
Scott Dorman17-Sep-08 17:27
professionalScott Dorman17-Sep-08 17:27 
QuestionReference Casting question. Pin
peterdrozd11-Sep-08 3:07
peterdrozd11-Sep-08 3:07 
AnswerRe: Reference Casting question. Pin
led mike11-Sep-08 4:35
led mike11-Sep-08 4:35 
AnswerRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 4:56
Mark Salsbery11-Sep-08 4:56 
GeneralRe: Reference Casting question. Pin
led mike11-Sep-08 5:02
led mike11-Sep-08 5:02 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:10
Mark Salsbery11-Sep-08 5:10 

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.