all groups > dotnet clr > september 2005
Viewing DLLs loaded in an Appdomain
Posted by reach.yedu NO[at]SPAM gmail.com at 9/30/2005 8:23:27 AM
Hi,
I'm trying to find a way that I can view the DLLs loaded into a
Appdomain.
Using the sysInternals process explorer tool I can view all the DLLs
loaded in a given process say test.exe.
But as I understand the test.exe process itself can have multiple
AppDomains in it and I need to find a ... more >>
Convert MFC 6.0 static libraries to managed application
Posted by Dani Peer at 9/30/2005 12:27:16 AM
Hi,
We have few MFC 6.0 applications that are using many static libraries that
are basically our infrastructure. Now we want to develop in C#, and we don't
want to redesign all the infrastructure, that basically the libs are also
using dependencies between them. From where to start ? and sugg... more >>
Solution for the Error : The service did not respond to the Stop call in a timely fashion
Posted by Prasad at 9/28/2005 7:19:33 PM
Hi,
I am writing a service which takes a long time to stop after the OnStop
call is given by the Services Snap-in. The problem is I cannot cut down on
the time that it takes to Stop. The Service snap-in gives me the error
saying that the service did not respond to the Stop call in a timely
... more >>
Does anybody know where should I submit my control?
Posted by Umut Tezduyar at 9/28/2005 3:53:06 PM
I have generated a control that simpifies most of the layout problems that
asp.net 1.1 and 1.0 face. I want to submit it to microsoft for the
investigation. Does anybody know where should I submit my control?
... more >>
empty finalizer bad for performance?
Posted by emma_middlebrook NO[at]SPAM fastmail.fm at 9/28/2005 6:52:00 AM
Hi
I'm curious. If a class is written with an empty finalizer is there any
reason why the compiler could not 'optimize' this away?
Cheers
Emma Middlebrook
... more >>
deserializing types defined in dynamic assemblies
Posted by rein.petersen NO[at]SPAM gmail.com at 9/27/2005 5:50:20 PM
Hi All,
I posted this to an xml group but I thought this post might fare better
here....
I've been working on a means to create dynamic asemblies (modules
actually) from parsing XSD schemas which creates a perfect .net
representation of the schema at hand (dynamically).
My next hurdle is... more >>
Control Managed Heap size
Posted by Amir Shitrit at 9/27/2005 12:27:03 PM
Hi to all.
Is there a way to control the size of the managed heap before it is
allocated in the beginning of the application execution?
The thing is that our app is deployed on a machine on which other apps run.
There other apps require most of the computer's resources, and thus our .NET
app ... more >>
assembly load error (InterlockedExchange64 issue)
Posted by Mikanu at 9/26/2005 9:42:01 AM
Hi,
I'm developing an assembly that contains a managed class and an unmanged
class. The managed class contains an instance of the unamanged class.
Basically, the managed class is a wrapper for the unamanged code.
The problem is that once I started using the InterlockedExchange64 function
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Garbage Collector Simulator
Posted by 4eyed at 9/24/2005 10:59:44 AM
Hello,
I'm trying to figure out a way to tell if there are any remaining
references to an object, sort of the way the garbage collector does.
Is there a way to walk the heap and see if anyone has a reference back
to an object. I want to use this to build some type of object cache.
I would ke... more >>
Dear Mr Gates, A suggestion to make the CLR Ubiquitous
Posted by dreams2text NO[at]SPAM gmail.com at 9/23/2005 3:50:37 AM
Check out the article titled : Dear Mr Gates, A suggestion to make the
CLR Ubiquitous at http://dreams2text.blogspot.com/
... more >>
Overriding generic methods
Posted by George at 9/20/2005 4:46:04 AM
Hi,
Extras from ECMA standard, 3rd edition:
"If an overridden generic method has one or more constraints on its generic
arguments then:
• ...
• Any such constraint on a generic argument specified by the overriding
method shall be no more restrictive than the constraint specified by ... more >>
ExecutionEngineException
Posted by Joseph Schwarz at 9/19/2005 12:09:02 PM
I am writing a managed/unmanaged C++ application which runs on Windows XP and
2003 server without any problem. Under Windows 2003 Server with SP1 the
application won't start. I get a System.ExecutionEngineException in
mscorwks.dll before even my main function starts.
Any help appreciated
J... more >>
How to dynamically gen class A containing a method that returns A[
Posted by Corey Kosak at 9/17/2005 5:11:01 PM
I am trying to dynamically generate a class like the following:
public class A {
public static A[] Func(ref A a) {
...
}
}
The point is that the function has an argument type and a return type that
are composed from the same type that is being built (in this case I need... more >>
AppDomain.AppendPrivatePath Depricated
Posted by Jared Bienz at 9/16/2005 12:36:32 AM
I get a CS0618 that AppDomain.AppendPrivatePath is obsolete. The
suggestion is to use AppDomainSetup.PrivateBinPath instead, but no
matter how I set it, PrivateBinPath remains null.
I am trying to update AppDomain.CurrentDomain after the domain is
started. Is AppDomainSetup the correct way ... more >>
Out of memory
Posted by Marek Cvrk at 9/13/2005 6:28:05 AM
Hi!
In our server application we get OutOfMemoryException in constructor of
dataset even a lot of memory is available on the machine. Any idea?
Thanks.
Marek Cvrk... more >>
Help for C# Interview questions and career decision
Posted by programmerforknowledge at 9/11/2005 7:05:07 AM
Hi All
I am fresh college graduate who has done C and C++ during college
times.After that i had done a C# course from one of our local computer
institute.The course is BCM which ran for 1 year.But now when i am
looking for job the questions asked in interview are really very very
weird and does... more >>
Using TypeBuilder and System.Reflection.Emit to generate an assembly
Posted by Dominic Souvoigne at 9/10/2005 3:17:36 PM
Hi,
I have a compiled assembly: source.dll.
I would like to add a single method
public static string version(){
return "1.0.1.1";
}
to all the types in the assembly, maintaining type names, so the client code
wouldn'... more >>
Decimal Data Type bit layout
Posted by mdavidjohnson at 9/9/2005 5:07:02 PM
What is the actual bit layout of the decimal data type?
i.e.; if the double data type layout is sign = 1 bit, biased exponent = 11
bits, and mantissa = 52 bits; what is the corresponding description for
decimal?
I read that a decimal includes a 1-bit sign, a 96-bit integer number, and an
... more >>
Performance
Posted by news.microsoft.com at 9/8/2005 10:42:53 AM
I have a VB.NET application that is composed of an .exe and multiple .dlls.
When I run this application on my development machine either in the IDE or
standalone compiled the performance is good.
When I deploy these same components to any other machine, performance is
TERRIBLE.
On a non-... more >>
InvalidOperationException: It is invalid to push a main message loop in this context.
Posted by Chris at 9/8/2005 12:00:00 AM
Hi There,
I have a rather tricky problem: On one of the Windows XP Pro installations,
my .Net application has nothing more to say then:
System.InvalidOperationException: It is invalid to push a main message loop
in this context. This may cause your application to not respond to Windows
mess... more >>
Hyperthreading
Posted by Yogesh at 9/7/2005 8:13:29 PM
Hi,
Can anybody tell me how to find whether any system has hyperthreading
enable or disable using .Net languages or Win SDK .
... more >>
XmlSerialization of an array of objects.
Posted by Kevin Burton at 9/7/2005 7:14:01 PM
I have some code that serializes an array of objects:
XmlSerializer serializer = new XmlSerializer(typeof(Purchase[]));
XmlTextWriter w = new XmlTextWriter("vpurchase.xml", Encoding.UTF8);
serializer.Serialize(w, purchaseArray);
This gives me something like:
<ArrayOfPurchase>
... more >>
XmlSerialization problem
Posted by SharpCoderMP at 9/7/2005 12:00:00 AM
hi,
according to the documentation System.Drawing.Font is serializable, well
at least it should be because it implements ISerializable. but when i
try to serialize it with XmlSerializer i get exception saying that this
object cannot be serialized because it hasn't got defined default public... more >>
Read XMP Metadata information Using C#
Posted by Fraas at 9/6/2005 5:18:30 PM
Hi
How can I read (XMP) Metadata information using C# ??
Adobe photoshop Save and retrieve (XMP) Metadata information from the files
...
In Adobe photoshop if you will go to File>>FileInfo you will see the (XMP)
Information.
I have try it to (JPG,JPEG) files
How can I write App... more >>
Garbage Collection - Windows 2000 Server vs. Windows 2003 Server
Posted by Robert Reineri at 9/2/2005 11:03:25 AM
Hello All.
We have an application (a set of services) that runs credit applications
through a series of workflow steps to determine if credit should be extended
or not. Each "step" is a separate instance of a class, and many of these
steps access an Oracle database and MSMQ.
When I proce... more >>
Is it possible to Compile only perticular (selected) class file
Posted by a at 9/2/2005 12:00:00 AM
Hi,
Is there any way to compile a selected class file in vb.net instead of
compiling the whole project.
Thanks
Ia
... more >>
IAS Extension DLL deadlocks when mscoree.dll loads the CLR
Posted by neilgg at 9/1/2005 4:59:07 AM
I'm trying to write an IAS Extension DLL using some managed code to do
the authentication. I've created a C++ mixed-mode DLL, as IAS need
standard DLL export functions called RadiusExtensionInit,
RadiusExtensionProcessEx and RadiusExtensionFreeAttributes.
Everything works OK on Windows 2000, ... more >>
|