| Thread | Last Post | Replies |
|
| How does an .NET know which version of framework to use | 28 Feb 2004 20:24 GMT | 2 |
Hi How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine. When I develope an App using VS.NET 2002 it uses framework 1.0. How does the app know it Is this info stored in the assembly REgards
|
| GC question | 27 Feb 2004 15:35 GMT | 1 |
I have a scheduling application that runs several assemblies every 5 - 20 minutes. Assemblies to run are loaded from file dim a as [Assembly a = [Assembly].LoadFrom("assembly_file") then types that implement custom interface are found and executed in a new thread. When thread is ...
|
| Flaws in CTS rules? | 27 Feb 2004 09:01 GMT | 6 |
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 ...
|
| NullReferenceException Message Feature Request | 26 Feb 2004 17:01 GMT | 6 |
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 ...
|
| CLR extentions | 26 Feb 2004 16:55 GMT | 4 |
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
|
| assembly reference lost. | 25 Feb 2004 22:34 GMT | 2 |
Everyday when I try to build my solution I get the message that I am missing the assembly reference to the DSO dll. Then I have to execute the MS SQL Server 2000 Analysis Services SP3 again to retain the assembly reference for the DSO.
|
| Adding Printer and Printer Ports (report from framework group) | 25 Feb 2004 18:31 GMT | 4 |
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
|
| get type of array items? | 23 Feb 2004 18:19 GMT | 6 |
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:
|
| Multiple put_ property accesors | 22 Feb 2004 08:50 GMT | 6 |
I am trying to accomplish something like this: (C# pseudocode) class MySample { IBigObject _value;
|
| Strange problem with C# and platform invoke | 21 Feb 2004 16:46 GMT | 1 |
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.
|
| Some question about CLR and managed applications | 21 Feb 2004 11:33 GMT | 6 |
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.
|
| Creating publisher policies for DLLs | 20 Feb 2004 01:51 GMT | 2 |
We have a .NET dll that we are deploying to our customers using a deployment project in VS .NET 2003. There is a lot of information about creating publisher policies on the web, but we have not been successful in creating one. Here's what the ultimate goal is:
|
| Finding out the current class in a static method? | 19 Feb 2004 09:07 GMT | 1 |
Is it possible to get a Type reference to the currently executing type from a Static method? public class foo {
|
| Re: What does the CLR do when you instantiate an object? - Continue | 19 Feb 2004 08:15 GMT | 25 |
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 ...
|
| MFC App compiled with /clr | 19 Feb 2004 00:27 GMT | 2 |
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 ...
|