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 > january 2005 > threads for january 8 - 14, 2005

Filter by week: 1 2 3 4 5

When do assemblies get loaded
Posted by AndrewEames at 1/14/2005 9:21:01 AM
I'm trying to understand when assemblies get loaded (in particular so I can gain a better understanding of how security works) I have a .exe which references half a dozen other assemblies. If I put a breakpoint in the first line of Main, I can see that one of the referenced assemblies has b...more >>

WindowsIdentity._GetCurrentToken() Access is denied
Posted by Robert Phillips at 1/13/2005 2:27:32 PM
I periodically get an ApplicationException "access is denied" in the WindowsIdentity._GetCurrentToken() method. Reflector shows the _GetCurrentToken() method as [MethodImpl(MethodImplOptions.InternalCall)] private static extern IntPtr _GetCurrentToken(); which i believe means it is an i...more >>

How to write array of doubles to stream without using a loop?
Posted by John Dumais at 1/13/2005 10:04:44 AM
Hello, I have been trying to figure out how to write an array of doubles (in this specific case) to a binary stream without using a loop. What I have been doing is... foreach(double d in TraceData) { instanceOfBinaryWriter.Write(d); } The loop is introducing overhead I don't want. ...more >>

Assembly resolving
Posted by AndrewEames at 1/13/2005 8:45:07 AM
I have a piece of code that is reading resources out of a loaded assembly that goes something like this... Stream stream = assembly.GetManifestResourceStream(resourceName); using(ResourceReader reader = new ResourceReader(stream)) { ... Now the ...more >>

aligned to the natural size? invalid address?
Posted by George at 1/13/2005 8:17:04 AM
Could somebody help me with answers at the following problems: ECMA standard states that "initblk assumes that "addr" is aligned to the natural size of the machine". What does this "alignment" means in a low-level memory view? 1. Does it mean that, for example, on a 32-bit machine "addr" i...more >>

Asynchronous I/O
Posted by Jim Mischel at 1/13/2005 7:55:06 AM
I guess I'm confused about how to use the asynchronous I/O capabilities in FileStream (BeginRead, EndRead, BeginWrite, EndWrite). The methods work in that they actually transfer the data, but things don't appear to be happening asynchronously. And, yes, I'm telling the FileStream constructor...more >>

MIME parser
Posted by Himanshu at 1/12/2005 10:43:05 AM
I am looking for support for parsing and generating a mime stream in CLR. One of the scenarios which will better explain my requirements is User types some data in an HTML enabled text control. I take this data and converty it into multipart mime message and store the multipart mime message ...more >>

help! generic CIL instructions
Posted by George at 1/12/2005 8:45:05 AM
I would have a few questions concerning the generic instructions such as "add", "div", "rem". When a "div" is performed for two values on the stack, the result depends on the operands' types. So a "div" needs to know the types of the operands: int32, int64, etc. How does "div" know these ty...more >>



Assembly problem in IL DLL (peVerifiy)
Posted by MalteseFalcon at 1/12/2005 3:31:03 AM
Hello I am writing a small dll in .NET. ILasm is compiling with no errors. However, peVerify is giving me the following error: Microsoft (R) .NET Framework PE Verifier. Version 2.0.40607.16 Copyright (C) Microsoft Corporation. All rights reserved. Could not load type '' from assembly '...more >>

static blocks and threading
Posted by Luis Fajardo at 1/11/2005 12:25:04 PM
I want to know if I should worry about threading if I open a file (read/write) within a static block? Thanks...more >>

Iterators in .NET 2.0 Nov '04 CTP
Posted by Mujtaba Syed at 1/9/2005 5:00:02 PM
I have the Nov '04 CTP of .NET 2.0 (The splash screen of Visual Studio .NET calls it Beta 2). I was trying some simple iterator code... using System.Collections.Generic; public class CityCollection : IEnumerable<string> { string[] m_Cities = {"New York","Paris","London"}; public ...more >>

Garbage Collection/OutOfMemory Exception 2
Posted by ronald NO[at]SPAM calleva.com at 1/8/2005 1:50:45 PM
Follow up to previous 16 message thread. Real world example of how Garbage collector completely messes up machines and fails comprehensively to collect Garbage with out prompting. The Garbage collector is designed and optimised for Client based applications where there are regular pauses in u...more >>


DevelopmentNow Blog