Groups | Blog | Home


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 8 - 14, 2004

Filter by week: 1 2 3 4

get type of array items?
Posted by boxboy at 2/14/2004 9:41:06 PM
I am trying to write a utility method/function in c# to resize an array, the problem I have encountered is how to safely get the Type of the items in the array, even when the array is empty. Here is how the code I wrote: public static Array Redim(Array a, int length) { Type type = a.Ge...more >>

pdb access through ISymWrapper
Posted by matt NO[at]SPAM use.net at 2/13/2004 8:20:35 PM
Let me give a quick user story here: I need to be able to go from a byte offset in a method body to a line of source code reference. I need to do this statically, without the application being run in the debugger or otherwise. I would really like to do this with purely managed code. That bein...more >>

ANN: .NET Memory Profiler 2.0 Released
Posted by Andreas Suurkuusk at 2/13/2004 1:51:01 PM
SciTech Software is pleased to announce that .NET Memory Profiler 2.0 has just been released. ..NET Memory Profiler is a powerful tool for finding memory leaks and optimizing the memory usage of .NET Programs. For more information see the .NET Memory Profiler web site at: http://www.scite...more >>

Re: What does the CLR do when you instantiate an object? - Continue
Posted by stack at 2/13/2004 10:26:05 AM
Hi Avon Last night I was able to duplicate your experiment with your sample classes with debug point at the parent class constructor On the stack dump, I did see the test class's main methos at the bottom of the stack, abov the Main mathod, it was childclass's constructor and then directly abov...more >>

MFC App compiled with /clr
Posted by Kaixin at 2/12/2004 6:23:49 PM
Hello, We successfully compiled (on .NET 2003) and ran a MFC application using COM, and then we try to compile it with /clr switch on .NET 2003. The compilation is successful, but the MFC app failed to start with an error thrown "Cannot change thread mode after it is set..", when calling HRESULT...more >>

.NET Assembler Structure
Posted by leohyppolito NO[at]SPAM uol.com.br at 2/12/2004 4:17:34 PM
Hello friends, I am finishing my Computer Science graduation this year, and I have to make a final project for it. As I'm working with Microsoft .NET, my idea is to write my project about the MSIL. A software that will disassemble the .EXE (generated by VS.NET 2k3 without obfuscation), and ...more >>

mscorwks.dll could not be loaded (although I have installed Framework 1.1)
Posted by Robert at 2/12/2004 5:36:07 AM
With certain combinations of my app's dll's, my app fails at startup with the message ...\V1.1.4322\mscorwks.dll could not be loaded I do in fact have the .NET Framework 1.1 installed on my machine, and I can run other applications with it I have a feeling it has to do with my trying to lau...more >>

Adding Printer and Printer Ports (report from framework group)
Posted by David Williams at 2/11/2004 8:34:02 PM
I have been attempting to find a way to [programmically] add printers to a server. This requires that a new port be added. I have not been able to find a means to accomplish this. I did find some *old* posts for using the AddPortEx/AddPrinter APIs from the winspool.drv, however, while I can ...more >>



Runtime and OS report different mem usage
Posted by geng shang at 2/11/2004 11:51:05 AM
Hi I am working on a pure managed windows application that creates large byte arrays at run time. In fact it creates a 50M byte array when the application starts public static byte[] buffer = new byte[1024*1024*50] I am using System.GC.GetTotalMemory() to monitor the memory usage. It is consist...more >>

A DotNet Severe Limitation ?
Posted by Dave Brown at 2/11/2004 11:41:13 AM
I believe I have found a severe limitation of DotNet, with respect to hosting Windows Form Controls in WebPages. It appears this is only possible when the web is configured on Port 80. Any other port and the control will not display. After a couple of days of searching the newsgroups/various for...more >>

DefineMethod causes TypeLoadException
Posted by Brian Tyler at 2/9/2004 12:35:00 PM
I am using the COM Profiling API to hook into the CLR and dynamically modify the program. I have been successful with the modification of existing methods, but now I want to add my own. To do this, inside the ModuleLoadFinished() method, I add the following call to DefineMethod: ...more >>

Serializing/DeSerializing System.Drawing.Cusrsor object looses the hotspot
Posted by Sankar Nemani at 2/9/2004 11:39:25 AM
Hi All, We are trying to Serialize a System.Drawing.Cursor object and Deserialize it. Before serializing the cursor behaves correctly but when we serialize and use a deserialized object, the hotspot (the cursor pointer) is not where it is expected to be. We tried both binary and soap formatt...more >>

CLR Profiler Setup Help
Posted by Tyson Brown at 2/8/2004 5:26:11 PM
I am hoping this is a quick solution. I am trying to get the CLR Profiler working on my machine and it doesn't seem to be hooking into aspnet_wp.ex Here is what I do 1) Start the profiler on the web server, I choose "Profile ASP.NET 2) It stops IIS, Restarts IIS and gives me the "Waiting for AS...more >>

Flaws in CTS rules?
Posted by pn at 2/8/2004 4:01:05 AM
Hi everyone I was interested under which conditions the CTS grants access to program entities. So I took a closer look at the CLI Standard (mostly Partition I, section 8.5.3). What I found there didn't make sense to me. For instance, consider the following MSIL program public class Outer i...more >>


DevelopmentNow Blog