| The .NET Framework is not supported in 64-bit versions of the Windows .NET Server 2003 operating system (4 replies) |
| microsoft.public.dotnet.framework.clr |
| Extracted from: http://www.microsoft.com/windows.netserver/evaluation/features/highlights.ms px#netframe Why? Is it still in development or may we expect for a new technology breakout for 64 bit? I worry about that the IL compiler don not have support for this, I supposed it was prepared for this. Thanks, JM |
|
| "unsafe" code in .NET (5 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi. Is there a penalty in terms of performance by using unsafe code in .NET? Does JIT have to do something in addition if unsafe code exists in the function? Also, there were papers on pre JIT utility during .NET Beta. I haven't heard anything about it since. Does such a utility exit? Thanks for any feedback! |
|
| property access after a Dispose() (2 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi. I'm designing a class and I'm not sure what to do in regards to property access after a Dispose(). If an object is disposed via the Dispose() method, should the object a) always throw an exception if the property is accessed? b) return the last known property value? c) return the default property value? d) throw an exception only if the property value cannot be fetched due to the resources tha... |
|
| System.ServiceProcess.ServiceInstaller class and services (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Why can't I set the description of a service from this class? Can I set it programatically using an service\installer class or am I going to have to resort to adding the a registry value programmtically during the install? Cheers Ollie |
|
| Loading DLLs that refer VS.NET DLLs in Installer custom actions (2 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi there, I'm developing VS.NET addin and my DLL refers files in C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE. The DLL loads fine as a standalone application, but when I created a subclass of Installer and tried to call from MSI custom action, msiexec reports that it can't load the DLL. I tried to load by myself by adding the path to private path using AppDomain.AppendPrivatePath() an... |
|
| SmtpMail and .Net Server (2 replies) |
| microsoft.public.dotnet.framework.clr |
| I'm trying to use the SmtpMail class to send email, but it's not working I get an error that CDOSYS is not running or installed. Looking the CDO docs it appears that this should be installed by default with the OS. Any idea on what I need to turn on to get this running? Anybody know of some simple Smtp client code somewhere I realize I can do this pretty easily with TcpClient, but I'm sort of in a... |
|
| Value Types (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Do value type members necessarily have to be derived from System.ValueType or they can be any type derived from System.Object Also, while unboxing value types, which have non primitive members, the copying operation would have to be a deep copy, right? |
|
| (C)API problem C# dotnet (2 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi All, I am trying to migrate old VB6 code to C#. It's function is to monitor CAPI events on my ISDN device. Everything works fine in the old environment. Using dotnet however I encounter strange behaviour. Everything runs fine until the line ' RtlMoveMemory(ref stuMessageHeader, intCapiBufferPointer, 8); '. When this line is executed the subsequent lines are not executed and the form comes back.... |
|
| Reflection Emit and Security (2 replies) |
| microsoft.public.dotnet.framework.clr |
| Using Reflection Emit I can't seem to create declarative security checks utilizing PrincipalPermission. Here's an example: a handcoded class: [System.Security.Permissions.PrincipalPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, Role "Guest")] public class SecTest { } generates the following in ildasm: ..class public auto ansi beforefieldinit SecTest extends [mscorlib]System.... |
|
| How do I retrieve the CLR version? (4 replies) |
| microsoft.public.dotnet.framework.clr |
| wassup :) I am using the EventLog to catch my application errors. How do I retrieve the CLR version in C# so I can include it on my log? Thanks. |
|
| ANN: .NET Framework 1.1 beta available (4 replies) |
| microsoft.public.dotnet.framework.clr |
| The beta of the .NET Framework version 1.1 SDK and Redistributable is now available, along with the add on to build and run J# applications. We encourage you to download these and provide us with feedback. You may register for the beta program to access these downloads at http://www.betaplace.com. Use the following userID and password to gain access to the site: ID: SDKBETA Password: SIGNMEUP (Ple... |
|
| Assembly Evidence (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi, I am having trouble embedding assembly evidence in an assembly using the /e switch on al.exe. Looking at ILDasm, there is a Security.Evidence place holder, but the serialized object contained in the file I pass to al.exe is not being embedded. The object was serialized using the BinaryFormatter. Can anybody point me to a working example or documentation? Regards Allen |
|
| GC doubt (3 replies) |
| microsoft.public.dotnet.framework.clr |
| I'm testing some extreme things about Garbage Collection and I want to know why GC doesn't free the virtual memory used by a code like this one: using System; namespace test { class Class2 { public Class2() { string[] a new string[100]; for(int i 0;i 100;i ) { a[i] new string('a',500000); } } } class Class1 { [STAThread] static void Main(string[] args) { Class2 c new Class2(); c null; Console.Writ... |
|
| Serial IO with C# ? (4 replies) |
| microsoft.public.dotnet.framework.clr |
| Does anyone know if you can use Serial IO with C#? I have tried several things from using the System.IO.FileStream object to using plain old DllImport. The problem is that C# doesn't support bit fields. How do I pass a structure to an API call that requires a bit field when C# doesn't support it. Is there another way to do this? Does anyone know? Is this the right group to talk to? |
|
| Preventing ThreadAbortException from happening within a given portion of code (2 replies) |
| microsoft.public.dotnet.framework.clr |
| I am new to multithreading with the .NET framework. I have a main application that spawns a worker thread performing various operations. I want the user to be able to stop the worker thread. I know there are several ways of doing that, and I just have a question about the behaviour of Thread.Abort and ThreadAbortException. My scenario is quite common. The worker thread performs repetitive operatio... |
|
| BUG or ANOMALY with Daylight Saving Time (4 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi, When Daylight Saving Time ends in Europe, there are two hours for exsample 2:00A and 2:00B in year 2002 Oct 27. So the function ToLocalTime returns either hour 2:00A or 2:00B. It would be good if the above function would return the same hour like the Win32 function. The below c program returns with: 27/10/2002 02:05 The below c# program return with: 27.10.2002 03:05:00 Thanks Michael using Sys... |
|
| .NET ManagementEventWatcher class leaves threads around? (10 replies) |
| microsoft.public.dotnet.framework.clr |
| Anyone have any experience with the .NET ManagementEventWatcher class and threading? I have debugged the below code and have verified that it is getting executed yet my thread count continues to rise as I monitor additions servers and does not decrease when I stop monitoring on servers. 1) I would sincerely hope that .NET doesn't start another thread for every server I am watching. I have only one... |
|
| VSA and httpContext (5 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi, I'm currently writing an ISAPI a like Http Handler called CCMS. The CCMS is added to the webconfig and gets called correctly when any document with the .agx extension is called. The system processes the url and then decides which data to load. The data gets loaded in memory and then some more parsing and retrieving is done. Eventually I have a document containing VB code and XHTML code. I sent... |
|
| Impossible to compare 2 object containing 2 different value types? (14 replies) |
| microsoft.public.dotnet.framework.clr |
| I have a function that receives 2 objects, each containing a value type I want to compare these two objects and test wether their value is equal. Decimal x 15; int y 15; object a1, a2; a1 x; a2 y; how do I compare a1 and a2 to see if they hold the same value? a1 a2 doesn't work. Seems the only sollution is to do a1.ToString() a2.ToString() Does anybody know a better (faster) way to do this? I need... |
|
| Still OUT (not REF) parameter in VC++ (2 replies) |
| microsoft.public.dotnet.framework.clr |
| Thank you, Mrinal Srivastava, for your reply. By using Int32* in C , I get a reference to an Int32 instead of an out parameter. With this form I have to pass a valid value to the parameters before calling the method. How can I declare a parameter in C .NET to be an OUT parameter (not REF) to an Int32? Best regards, André Malafaya Baptista |
|
| GAC Cannot load xml file (4 replies) |
| microsoft.public.dotnet.framework.clr |
| I am trying to load an XML file within the same project as the class that is calling it. This works fine until I make the project strongly typed and put it into the GAC. How can I find where this XML file is dynamically then? And why is this different in the GAC? |
|
| Anyone using Structured Storage? (2 replies) |
| microsoft.public.dotnet.framework.clr |
| I need to open a dofile and a stream in it has anyone already done so? And might care to publish his sources for this? Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) Still writing SQL and dealing with DataSets? Why dont you use our EntityBroker the most advanced o/r and business object toolkit in town. |
|
| How does DotNet avoid the COM interface version mess? (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi, In COM it was a difficult thing to keep up with your inteface numbering (including using GUIDS) and a bad design could lead to a terrible mess in the registry or client side dependencies to old interfaces that technically spoken could have worked sometimes... How does DotNet avoid that mess? |
|
| HOWTO: debug a Installer Class (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Folks, I am working on a Installer Class and would very much like to use the VS.NET debugger to speed up the process of debugging. How do I go about using the VS.NET debugger? I have seen posting about how to debug Installer Classes, but it is not working for me. What I have done is created a msiexec.exe project both it's own solutiona and in the soltution with the WebSerice. The properites for th... |
|
| emit literal field of enum type (2 replies) |
| microsoft.public.dotnet.framework.clr |
| I ask again. I'm trying emit this: public class Test13 ConstLiteral { enum LiteralEnum : long { one, two } const Test13 ConstLiteral.LiteralEnum en Test13 ConstLiteral.LiteralEnum.two; } by using Refelction.Emit. It's not important if this Enum type is nested or not. Problem is when: field is literal type of field is enum type this enum type is emitted in the same assembly Here is my pseudoCode: .... |
|