Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet clr > february 2004 > threads for february 15 - 21, 2004

Filter by week: 1 2 3 4

Multiple put_ property accesors
Posted by Michael Sparks at 2/21/2004 9:19:51 AM
I am trying to accomplish something like this: (C# pseudocode) class MySample { IBigObject _value; Type _type; public IBigObject TheBigObject { get { if(_type!=null) { _value=(IBigObject)_type.GetConstructor(Type.EmptyTypes).Invoke(new object[0]); _type=null; ...more >>


Some question about CLR and managed applications
Posted by Sheila Jones at 2/20/2004 11:21:47 AM
Hello, I'm trying to get my brain around the CLR! Can somebody tell me if the following are correct? Thanks. 1. The CLR runs each managed application in its own application domain, but there can be several application domains within the same process. 2. The managed heap is shared by all a...more >>

Finding out the current class in a static method?
Posted by Rick Strahl [MVP] at 2/18/2004 10:54:35 PM
Is it possible to get a Type reference to the currently executing type from a Static method? public class foo { public string static FooM() { Type x = ???? return "Crap"; } } public class foo2 { public string Something() { return "x"; } } then if callin...more >>

Growing Working Set Size on GUI App
Posted by Niall at 2/18/2004 12:00:17 PM
I know there have been a lot of posts in relation to GC, working set, trimming working sets, minimizing forms, etc. I've read every one I can find, but have not found a solution to my problem. The closest I ever found was the thread here recently "GC does not release memory... memory keeps growi...more >>

NullReferenceException Message Feature Request
Posted by Bryan Livingston at 2/18/2004 11:21:07 AM
I'm guessing that NullReferenceExceptions are by far the most common exceptions thrown in .net. Why not add the type of the reference to the message? Have it say something like: Object reference of type 'string' not set to an instance of an object. This would really help when trying to figur...more >>

Profiler
Posted by Frank Rizzo at 2/18/2004 10:12:33 AM
Can anyone recommend a good profiler for .NET? It should support both vb.net and c#. Thanks...more >>

asynchronous delegate problem
Posted by Sankar Nemani at 2/17/2004 2:53:57 PM
I have a delegate which I call BeginInvoke on. I use the waithandle.WaitOne to wait for the delegate to finish. If there is an exception in the delegate call, waithandle.WaitOne returns true and the asyncresult.IsFinished(Completed) also returns true. How do I know if there is an exception and t...more >>

Strange problem with C# and platform invoke
Posted by sqcliu at 2/17/2004 1:46:13 AM
I encounter a strange problem using platform invoke using C#. The senario is this: I have a dll which uses a 3rd party static link library (lib). Inside the lib, there are some C structures defined by not exposed to user, in the dll, that data type can be treated as an opaque type. I use C# a...more >>



Obtain .NET "Ticks" from J2EE "Millis"
Posted by num NO[at]SPAM laposte.net at 2/17/2004 1:39:35 AM
Hi all, Sorry for cross-posting. I have to convert a J2EE date as a long ("Millis") in a .NET date as a long ("Ticks") In Java, currentTimeMillis, is the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. In .NET, DateTime.Ticks is the 10...more >>

CLR extentions
Posted by Ole Andre Karlson at 2/16/2004 6:11:04 AM
Hi, it is my understanding that to support generics the CLR (at least the IL) had to be extended with new instructions. I have been wandering around the ms site looking for ducumentation without succses, can anyone point me in the right direction? thanks Ole...more >>

Button click single
Posted by Pat at 2/16/2004 12:01:06 AM
Hi I have been creating an Button using .Net C#. Once the user clicks the button, the click event handler will perform task A. This normally takes around 2 minutes During this 2 minutes, the user must not be allowed to click this button again However, once the user clicks multiple times on thi...more >>


DevelopmentNow Blog