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
all groups > dotnet clr > june 2007

No improvement in memory usage after using GAC and nGEN
Posted by Nick John at 6/28/2007 4:21:58 PM
Hi, I've installed a number of assemblies into the GAC (using gacutil) and then used nGen on them (nGen install) but can see no change in the memory usage of applications that use them. I'm running at least 3 instances of the application on the same machine as the same user and using Proces...more >>


Windows Service EXE x86 + Assembly (AnyTarget)?
Posted by MJ at 6/27/2007 5:56:32 PM
Hello, we have written a VB.NET windows service application for reading OLEDB data sources on x64 machines. The service EXE itself is compiled using the x86 switch (necessary for accessing the 32-bit Jet driver on the x64 machine), a DLL used by the service EXE is compiled using AnyTarget s...more >>

How to pause another thread?
Posted by Néstor Sánchez A. at 6/27/2007 11:31:36 AM
Hi, i'm writing a windows service for wich a need to run an auxiliary thread. When the service will get paused i need to pause that thread, but since "Thread.Suspend" is being deprecated and since "Thread.Sleep" is for the current thread -not another as i need- then... how I can pause it??? ...more >>

virtual memory leak? in asp.net app - OutOfMemory exception
Posted by Mike at 6/27/2007 9:44:03 AM
Hello, I have an ASP.Net app pulling a large XML stream (50 MB) and loading into an XmlDocument object. Doing so seems to allocate several hundred MBs of virtual memory (Seen as "virtual bytes" in perfmon). This behavior seems to happen in the XmlDocument.Load() method. When the XmlDoc...more >>

lock-free programming
Posted by Shawn B. at 6/27/2007 9:22:33 AM
Greetings, Why is lock-free programming more efficient than using monitors or mutex? What is it that makes lock-free programming more efficient? I'm having a hard time comprehending this. Thanks, Shawn ...more >>

Marshalling a self-referring structure (from C++ to C#)
Posted by antuantuan at 6/26/2007 1:30:23 PM
Hello there. I'll try to describe shortly my problem, hoping you can help me to find a solution to it. I have a C function like this: [DllImport("library")] static extern message getMessage(....) It returns a structure of this kind: struct message { char *value; int i...more >>

Re-entrancy problems on Vista
Posted by spurdog at 6/21/2007 1:45:01 PM
We are having re-entrancy problems with Monitor.Wait on Vista. Whenever you do managed blocking in an STA, there is some potential message pumping going on. On Windows XP our code works fine, but on Vista a call to Monitor.Wait dispatches paint messages, and that is a real problem causing dead...more >>

Call .NET windows service methods from C++
Posted by Gert Unterhofer at 6/20/2007 3:50:00 AM
The windows service is ComVisible and has the ClassInterfaceType.AutoDual set. Code: <Assembly: ComVisible(True)> <ComVisible(True)> _ <ClassInterface(ClassInterfaceType.AutoDual)> _ Public Class SEngine The C++ Code that will call the service looks like: #import "SEngine.tlb" no_na...more >>



vs2005 Debugging problem, ContextSwitchDeadlock was detected
Posted by Sriman at 6/12/2007 10:46:00 AM
Hi, How to resolve this problem? when i am debugging my application i got the following error. Unable to fix the problem. Need your suggestion. Error: 1) How to disable MDA? 2)ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1b2938 to CO...more >>

Launching threads from loop
Posted by JA at 6/8/2007 12:44:04 PM
Hi, I have a question. I have a DLL created in C that does some file conversion. I have gone through the code to ensure that it is thread-safe, i.e. removing globals from the library, etc. I have a wrapper class in C#. I have tested the DLL/wrapper by creating a couple threads on different ...more >>

IL Disassembler
Posted by gilad at 6/3/2007 8:08:29 AM
Hi, I'm looking for a free ildasm.exe. meaning: - command line - produce IL that can be compiled back using ilasm.exe - free to distribute Thanks, Gilad. ...more >>

Using MessageBox
Posted by Allen Maki at 6/3/2007 12:28:09 AM
/* Console::WriteLine() I am trying to use message box instead of Console::WriteLine() to upgrade my code from just using the console to using GUI. In the bottom 2 lines, #1 works, but I have hard time to make # 2 works. Can anybody give a hand here to make the information to be shown on th...more >>


DevelopmentNow Blog