471,356 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

NET objects

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?
Jul 21 '05 #1
4 1046
"Chris" <ch*********@hotmail.net> wrote in message
news:TR********************@news-server.bigpond.net.au...
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.
Jul 21 '05 #2
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
Jul 21 '05 #3
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.
--
"Chris" <ch*********@hotmail.net> wrote in message
news:TR********************@news-server.bigpond.net.au...
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?

Jul 21 '05 #4
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
"Nick Malik [Microsoft]" <ni*******@hotmail.nospam.com> wrote in message
news:cJ********************@comcast.com...
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.
--
"Chris" <ch*********@hotmail.net> wrote in message
news:TR********************@news-server.bigpond.net.au...
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?


Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.