473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1130
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Aguilar, James | last post by:
Hey guys. A new question: I want to use an STL libarary to hold a bunch of objects I create. Actually, it will hold references to the objects, but that's beside the point, for the most part. ...
6
by: Alfonso Morra | last post by:
I have written the following code, to test the concept of storing objects in a vector. I encounter two run time errors: 1). myClass gets destructed when pushed onto the vector 2). Prog throws a...
161
by: KraftDiner | last post by:
I was under the assumption that everything in python was a refrence... so if I code this: lst = for i in lst: if i==2: i = 4 print lst I though the contents of lst would be modified.....
7
by: Jo | last post by:
Hi, How can i differentiate between static and dynamic allocated objects? For example: void SomeFunction1() { CObject *objectp = new CObject; CObject object;
14
by: Jess | last post by:
Hello, I learned that there are five kinds of static objects, namely 1. global objects 2. object defined in namespace scope 3. object declared static instead classes 4. objects declared...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.