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 > november 2007 > threads for november 22 - 28, 2007

Filter by week: 1 2 3 4 5

Cant call Marshal.PtrToStructure from a DynamicMethod
Posted by john conwell at 11/27/2007 6:12:01 PM
I'm trying to create a DynamicMethod to handle custom marshaling from a pointer in memory to managed types. I'm trying to use a DynamicMethod so I can template the code for all the custom marshaling and dont have to maintain it. My problem is I cant call Marshal.PtrToStructure in a Dynamic...more >>

Generic Collections
Posted by Scott M. at 11/27/2007 2:33:23 PM
Given that in .NET 1.x, we could make a strongly-typed collection by creating a class that inherited from CollectionBase and implementing custom Add, Remove, and Item members that only work for a given type and that now, with Generics we don't need to do that extra work, does it mean that to ...more >>

How to get base data type for enum via reflection
Posted by john conwell at 11/27/2007 11:03:01 AM
in .Net you can make your Enum inherit from sbyte, byte, short, ushort, int, uint, long, ulong (default is int). What I'm trying to do is determine what is the underlying type of a enum at runtime via reflection. But I cant figure out how. If I get the Type of my custom emun, it's base ...more >>

Generics Question
Posted by Scott M. at 11/23/2007 12:28:44 PM
1. Although I get the relative simplicity of Generics over using interfaces is it true that I *could* do what Generics offers with interfaces? ...more >>

Is it possbile to enumerate Methods by Event?
Posted by athos.jingle@gmail.com at 11/23/2007 10:29:14 AM
To attach a method to an event, we can use EventInfo.AddEventHandler. After attached, given an event's name, is it possible to retrieve all methods attached to it? Thank you....more >>

.NET Compact Framework System.Windows.Forms.UserControl is leaking memory
Posted by Armin Sczuka at 11/22/2007 11:07:45 AM
Hello, I figured out that all objects based on System.Windows.Forms.UserControl are never disposed by the Compact Framework GC. This problem occours only under Windows CE not with Win32/ Win64. Is this a known issue? Is there any fix for it? How about the .NET Compact Framework 3.5? ...more >>



DevelopmentNow Blog