microsoft.public.dotnet.framework.clr Archive - March 2004
Post a message to this list
Messages
Page: 12
Calling BinaryFormatter:Deserialize(Stream); Asynchronously (4 replies, VIP)
microsoft.public.dotnet.framework.clr
hi all SORRY FOR CROSSPOSTING: i did not know which group deals with this question! Question: i am looking to call the following function, ASYNCHRONOUSLY: Packet p (Packet)this. BinaryFormatter.Deserialize(this. Stream); Can it be done? assaf
Max number of assemblies/clases in GAC (6 replies, VIP)
microsoft.public.dotnet.framework.clr
Is there a limit for number assemblies or number of classes that can be hosted in GAC? Could some one please comment on this? Thanks. Raghu/..
Accessing protected properties at runtime (4 replies)
microsoft.public.dotnet.framework.clr
We are wrestling with an intermittent database error and would like to be able to capture some specific data when the error occurs. We are trying to grab as much state information from a SqlDataReader object as possible. Unfortunately (for our cause here), the data reader is sealed and most of the meaningful properties are either protected or private. However, we can access these items when using ...
Convert.ToDateTime using MM/yy format (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Suppose a user wants to allow entry of credit card expiration dates in the two digit year format of MM/yy. Conversion of the textual date (like 03/06) to a DateTime structure behaves unexpectedly when using Convert.ToDateTime. Is this a bug in the ToDateTime method? Details: Set up a DateTimeFormatInfo object with ShortDatePattern "MM/yy" Call Convert.ToDateTime using that DateTimeFormatInfo. Used...
Queue.Clone defective (4 replies, VIP)
microsoft.public.dotnet.framework.clr
The little program that follows this post demonstrates a defect of the Clone method of the System.Collections.Queue class. The program twice prints two columns of strings: the elements of a queue and its clone. The first output shows the clone of a queue whose elements were enqueued but never dequeued. This output is correct. The second output shows the clone of a queue one of whose elements was d...
Specifying location of dependent native dlls (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Is there a way to specify the location of native dlls that are reference from assemblies. Currently I have the following directory structure: root | Product1 | | a.dll | | Product2 | | a.dll | | Product3 | a.dll What I would like is: root | dlls | | a.dll | | Product1 | | Product2 | | Product3 I know I can set the PATH environment variable but I was hoping I might be able to accomplish this using ...
Citrix/Teminal Server and the CLR (2 replies, VIP)
microsoft.public.dotnet.framework.clr
When running a .NET Windows Forms application in a Terminal Server configuration, do multiple users share a single instance of the CLR, or is an instance of the CLR created for each user?
%Time in GC for a 8 CPU Machine (4 replies, VIP)
microsoft.public.dotnet.framework.clr
If I have an average %Time in GC of 966.222 on an 8CPU Hyperthreaded box, what does it actually mean in real % terms ? Later
Slow performance without forced garbage collection (2 replies, VIP)
microsoft.public.dotnet.framework.clr
I have a console mode application that processes a serious of input files for updating a database. While processing objects are created and released. I have found that the program will begin to run slower and slower when processing a large number of files. If I force a garbage collection every few 100 files the program just zips right along. Is this to be expected or is there another way to addres...
Adding event handler at run time (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi, I'm trying to make facade for DataAdapters. At desing time i don't know what adapter will be used at run time (SQL or Oracle). Everything is fine but I can't subscribe to RowUpdating and RowApdated events. I tryed to use Reflection to get eventinfo from dataadapter type and then use addEventHandler. But this method expects delegate of a special type like SqlRowUpdatedEventHandler and for Oracl...
New Platform Invoke Resources for Developers (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Platform Invoke Resources In our efforts to make the .Net platform continuously easier to develop for we have reviewed developer feedback and help requests from Product Support Services, Microsoft.dotnet newsgroups, and other blogs and message boards we 've taken on the task to relieving or minimizing the major pain point of using Platform Invoke from VB.Net and C#. After floating around proposals...
JIT in CLR (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Guys, I have a doubt regarding JIT. Is mapping MSIL to machine code the job of JIT or CLR? I mean to ask, does CLR execute the MSIL or JIT does it? I heard that in Java, JIT is only an optimization but not a necessity for byte code to machine code conversion. Let me know if I am clear enough, thanks
Loading MSCORSVR for a Windows Services. (2 replies)
microsoft.public.dotnet.framework.clr
Hi, Is there a sample code for a Windows Service in VC which will load a .NET Windows Service with Server Build [MSCORSVR] of the CLR. Regards, Vikram
BITS (Background Intelligent Transfer Service) and .NET ? (4 replies)
microsoft.public.dotnet.framework.clr
Hi! does anyone have some experience with BITS (Background Intelligent Transfer Service) and .NET ??? can someone give me some code samples how to use BITS with .NET ??? regards, gicio
Jpeg 2000 and .NET (C# / VB.NET / C++.NET / J#) ? (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi! does anyone have some experience with Jpeg2000 and .NET ??? can someone give me some code samples how to compress a picture to Jpeg2000 with .NET ??? and how to show a Jpeg2000 picture although the picture is not loaded complete??? (show the Jpeg2000 picture with a lower quality). how to send (upload) DICOM Header of a Jpeg2000 picture??? best regards, gicio
.NET-BroadcastEventwindow.1.0.3300.0.9:-Application Error (5 replies, VIP)
microsoft.public.dotnet.framework.clr
Anyone seen this error? Any workaround/fix available? Thanks. James P
Inatnaces of .Net CLR? (2 replies)
microsoft.public.dotnet.framework.clr
Do the different applications have different instances of CLR or they use the same one?
"Undefined Value" in struct under Managed Code C++ (3 replies)
microsoft.public.dotnet.framework.clr
I create a structure, then later create a varible of type structure name. I then allocate the structure to a given size. Then assign the beginning address to the variable of the structure type. However when I look at the variable all of my types are "undefiend". If I turn off the managed extensions things look ok. Below is the code.... typedef struct UserNote { int Frameno; // Frame Number of Note...
perfmon & .Net CLR Memory counter (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi, When I'm measuring .net behaviour with performance monitor, using the ".Net CLR Memory" object, I have a problem. The data shows up correctly when I'm running perfmon in interactive mode. However, if I'm scheduling a counter log, no data is collected for this particular object. (For the others, it is ok). Any idea why this might be the case? I'm measuring on a W2K3 server, with a domain admini...
Strange application behavior (4 replies, VIP)
microsoft.public.dotnet.framework.clr
Folks I am observing some weird behavior in our application during shutdown, let me see if I can explain this clearly. Lets say I open 2 instances A and B of the application on my machine. Regardless of what order I shutdown the instances, the process associated with A always takes longer to end than the process associated with B. Also there is a noticeable 100% CPU spike during the shutdown of in...
CLR error 80004005 (10 replies, VIP)
microsoft.public.dotnet.framework.clr
I have a user getting the error "CLR error 80004005 the program will now terminate". Any ideas what could cause this error upon application startup? Thanks! *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Looking for e-Book (4 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi,all, Dose somone here got a ebook named "Undocumented Windows 2000 Secrets: A Programmer's Cookbook"? Thanks!
possible to call javascript from IE hosted winform control ? (6 replies, VIP)
microsoft.public.dotnet.framework.clr
Hello everyone, Can anybody tell me if it is possible to call a javascript function in the html from a embedded winform control ? Note. this is not ASP, just a plain html page with a javascript function such as function Hello(name) { alart("Hello " name); } and then in the body of the html is the form and object tag... Thanks in advance...
NotifyIcon Bug, Application.EnableVisualStyles, Application.DoEvents, and Memory Leaks (2 replies, VIP)
microsoft.public.dotnet.framework.clr
I've got a C# application that disables some application functionality, displays a form, and when the form is closed enables the functionality. I know there are several approaches to this, but I wanted something quick and relatively risk free. Therefore, I wrote the code like this: SetEnabled(false); MyForm NewMyForm new MyForm(); NewMyForm.Show(); while (NewMyForm.Visible) { Application.DoEvents(...
About PInvoke on ANSI platform and Unicode Platform (2 replies)
microsoft.public.dotnet.framework.clr
I wanted to use SendMessage (PInvoke) to get the length of the current selected text in an unmanaged TextBox window. So I declared the following statement: [DllImport("user32.dll", EntryPoint "SendMessage", CharSet CharSet.Auto)] private static extern int SendMessage(IntPtr hWnd, int MSG, ref int wParam, ref int lParam); And this is how I use it: int s 0; int e 0; SendMessage(this.Handle, EM GETSE...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com