NET objects

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi guys,
I came across the following question and do not find a proper answer. Any
help is highly appreciated.

How would you go about providing deterministic finalization of .NET objects?
 
Chris said:
Hi guys,
I came across the following question and do not find a proper answer. Any
help is highly appreciated.

How would you go about providing deterministic finalization of .NET
objects?

In Whidbey, use C++/CLI. Otherwise, forget it. The whole point of a managed
environment is that you don't have deterministic finalization. If you have
scarce resources that need to be cleared at certain points, use the IDispose
pattern, but this is just to allow you to close connections and handles and
stuff. It won't free the memory.
 
You asked another "essay question" on a different thread.

If you aren't trying to use the NG to cheat on a test, then I apologize for
assuming that you are. However, if you are, then I really really hope that
you and I never end up on the same team. That would not be pretty.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
Sorry Nick, I was actually helping a friend. He asked me those two
questions. We did not find a satifying answer after a long web search, so we
tried the NG. We did not intend to offend anyone. We are sorry if we did.

Cheers

Chris
 
Chris,

I assume that you are asking this for a pocket PC.

Did you know that there are special newsgroups for that
microsoft.public.dotnet.framework.compactframework

I hope this helps

Cor
 
Back
Top