| Thread | Last Post | Replies |
|
| Generic Collections | 30 Nov 2007 23:48 GMT | 3 |
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 ...
|
| Cant call Marshal.PtrToStructure from a DynamicMethod | 29 Nov 2007 08:19 GMT | 2 |
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.
|
| How to get base data type for enum via reflection | 27 Nov 2007 19:32 GMT | 2 |
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
|
| How to tell sql server the maximum size my temp table will grow so that it does at most 1 memory allocation? | 27 Nov 2007 08:06 GMT | 1 |
How to tell sql server the maximum size my temp table will grow so that it does at most 1 memory allocation?
|
| C# 3.0 Automatic Properties and CodeDom | 26 Nov 2007 14:08 GMT | 2 |
Anyone know how to generate an automatic property using CodeDom and VS2008?
|
| Is it possbile to enumerate Methods by Event? | 23 Nov 2007 20:46 GMT | 3 |
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.
|
| .NET Compact Framework System.Windows.Forms.UserControl is leaking memory | 23 Nov 2007 02:34 GMT | 1 |
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?
|
| Not matching signatures | 21 Nov 2007 23:22 GMT | 7 |
The error below doesn't make sense to me: Method 'Private Sub ResultCallback(Status As Boolean, cbCICSBuffer As CclECILib.CclOBuf, cbMFReason As String)' does not have the same signature as delegate 'Delegate Sub MFCallback(Status As Boolean, MFcicsbuf As
|
| Query permissions for System.Net | 19 Nov 2007 08:06 GMT | 2 |
I am writing an application where I obtain the IP address of the local adapter. When the user is logged in as Guest, this call fails with an exception: Access to the path 'Global\.net clr networking' is denied I think this is because the guest user is not allowed to access
|
| Unexpected reentrancy on Wait,etc... | 15 Nov 2007 19:06 GMT | 5 |
I have run into a serious reentrancy problem. It appears from a stack trace that lock, WaitOne and Thread.Join do some servicing of the message queue. Here is the setup: The GUI thread uses a combination of Application.Idle and a timer to
|
| I set my database to trustworthy and deployed this clr stored proc as unsafe ok but when i run this it returns 1 each time. as if ival keeps getting set back to 0 each time i call this clr stored proc. How to fix so that ival keeps its current value each t | 14 Nov 2007 14:44 GMT | 3 |
I set my database to trustworthy and deployed this clr stored proc as unsafe ok but when i run this it returns 1 each time. as if ival keeps getting set back to 0 each time i call this clr stored proc. How to fix so that ival keeps its current value each time i execute this from ...
|
| How to create a CLR DLL for Sql Server 2005? Is it just any .net class library that you can load into Sql Server 2005 or is there some special project type that I need to start with? | 14 Nov 2007 01:44 GMT | 2 |
How to create a CLR DLL for Sql Server 2005? Is it just any .net class library that you can load into Sql Server 2005 or is there some special project type that I need to start with?
|
| easiest way to upload a C# class library to a SQL server 2005 and deploy as CLR function | 14 Nov 2007 01:43 GMT | 2 |
easiest way to upload a C# class library to a SQL server 2005 and deploy as CLR function Do I have to upload the .dll and then run sql command to load it into sql server, or is there a more integrated way to do this in visual studio 2005
|
| Searching URL String for Subdomain value | 12 Nov 2007 16:34 GMT | 2 |
I have my DNS setup to answer for any subdomain. I need to be able to look at the URL typed in like "joe.mysite.com" and put the subdomain in a variable, so I can then look it up in a database. This would have to work if they typed in http://joe.mysite.com or just joe.mysite.com.
|
| Is there a way to execute code on Assembly loading? | 12 Nov 2007 16:31 GMT | 3 |
I have an assembly A that implements additional features for another assembly B and should link itself automatically into the mechanisms of B when it is loaded. Is there a way to get code executed in assembly A without explicitly calling a method in A?
|