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

Managed C++/CLI

 
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 
N a v a n e e t h wrote:
claiming C++/CLI as the only .NET language which supports deterministic destruction is not correct,


Correct. None of the .NET languages truly support determistic destruction. Smile | :) Keep in mind that when a call to Dispose is made, two things are supposed to happen (it is up to you to ensure that they actually do happen, however):

1. Any managed objects have their Dispose method called.
2. Any unmanaged resources are released.

Given that scenario you might say that .NET can be determistic when it comes to releasing unmanaged resources but not managed resources.

However, just because Dispose has been called doesn't mean the object has been deallocated on the heap. That only happens when a GC cycle runs and determines that the object is eligible for collection.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

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 
GeneralRe: Reference Casting question. Pin
led mike11-Sep-08 5:37
led mike11-Sep-08 5:37 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:42
Mark Salsbery11-Sep-08 5:42 
QuestionRe: Reference Casting question. Pin
led mike11-Sep-08 5:45
led mike11-Sep-08 5:45 
AnswerRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:57
Mark Salsbery11-Sep-08 5:57 
GeneralRe: Reference Casting question. [modified] Pin
peterdrozd11-Sep-08 5:26
peterdrozd11-Sep-08 5:26 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:40
Mark Salsbery11-Sep-08 5:40 
GeneralRe: Reference Casting question. Pin
peterdrozd11-Sep-08 5:44
peterdrozd11-Sep-08 5:44 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:56
Mark Salsbery11-Sep-08 5:56 
GeneralRe: Reference Casting question. Pin
Mark Salsbery11-Sep-08 5:59
Mark Salsbery11-Sep-08 5:59 

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.