all groups > dotnet clr > july 2004 > threads for july 15 - 21, 2004
Filter by week: 1 2 3 4 5
how to define this?
Posted by ZhangZQ at 7/21/2004 3:53:04 PM
if there is a C function in a DLL(My.dll) has this declaration,
struct MyStruct
{
int a;
int b;
};
int MyFunc(int param1, MyStruct** param2);
how to define this in C# ? if there is another C function like this int
MyFunc1(int param1, char** szRtn);, I can define it as
[D... more >>
Reflection to get objects that implement interface / or in namespa
Posted by Dinesh at 7/21/2004 10:18:01 AM
Hello,
I wanted to know if it is possible to use reflection to get a list of all classes that implement a given interface. If not, is it possible to get a list of all classes that exist in a given namespace?
Thanks,
Dinesh... more >>
How to specify the initial memory size for a application?
Posted by Lei Jiang at 7/21/2004 9:58:30 AM
I have a program that cost a lot of memory. During the load of the program,
more and more memory is being allocated. I'd like to know if I specify a
large initial memory size for the application, would its load speed be
increased? If so, how can I specify that?
Thanks!
... more >>
assembler code
Posted by menkaur at 7/20/2004 9:26:02 PM
how to write .net code using masm?... more >>
clr vs pe
Posted by menkaur at 7/20/2004 9:25:01 PM
what is the difference between clr code and pe-code ( i mean, low level - file format, memory placement etc)?... more >>
Code size effects on application performance
Posted by Josh Buedel at 7/20/2004 4:17:26 PM
Hello,
I am searching for information on the performance impact/implications of
using large assemblies (>1MG).
Is an assembly loaded fully into memory? Or are the classes loaded as they
are needed? As far as execution time, you take a one time hit at
application load, correct? And even s... more >>
Logical threads vs. physical threads
Posted by bjoseluisb NO[at]SPAM hotmail.com at 7/20/2004 3:40:12 AM
Hi all,
I'm using ThreadPool.QueueUserWorkItem to handle work requests from a
Windows Service. I've been using the performance monitor to trace the
number of physical threads and the number of logical threads in the
LocksAndThreads counters. I'm seeing 28 physical threads, but only 1
thread a... more >>
Will 2.0 of the clr have support for covariant returns?
Posted by Hasani (remove nospam from address) at 7/19/2004 9:38:31 PM
Will 2.0 or some other future version of the clr have support for covariant
returns?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
native assemblies
Posted by Xavi Sam at 7/19/2004 12:04:41 PM
Hi
When a managed application is executed by the CLR, the managed assemblies
are translated to native assemblies.
This native assemblies are storaged in some subdirectory in my pc or simple
lives in memory? Can I set the time of life to native assemblies?
Thanks in adavence
Javier
... more >>
String testing
Posted by Stephen Walch at 7/19/2004 7:03:44 AM
I have always been curious. Which is faster?
if (m_string.Length==0)
foo();
if (m_string.Equals(string.Empty))
foo();
Thanks,
-Steve
... more >>
assembly loading question
Posted by David zhu at 7/17/2004 10:26:08 AM
I'm confused that only the strong name assembly can't
load successfully for different AssemblyVersion, or it
works on every assembly?... more >>
ANN: .NET 2.0 Beta - CODE COVERAGE EDITION
Posted by Thomas Scheidegger [MVP] at 7/17/2004 9:44:38 AM
NET Framework Version 2.0 Redistributable Package Beta 1 (x86)
CODE COVERAGE EDITION
The .NET Framework Code Coverage Edition is a new mechanism that enables you to give
Microsoft direct feedback on what portions of the .NET Framework and Win32 you're most reliant on.
http://www.microsof... more >>
Genericity support in IL
Posted by ianm at 7/16/2004 4:17:02 PM
Please, is there anything written on genericity support in the Intermediate Language? I mean, something like the Tools Developers Guide in the SDK. Most of these documents refer to CIL v1.1 (Jun 2003), and only one of them (Metadata Unmanaged API) refers to genericity.
I'm interested in this beca... more >>
Invoking complex constructors through reflection. Is there any way?
Posted by Bern McCarty at 7/16/2004 3:59:03 PM
I am using reflection to successfully find a System.Type that derives from an abstract class that my
code knows about. I want to create an instance of this derived type. The type in question can be
created only with a complex constructor (it has one parameter). Is there any way for me to create... more >>
Memory not being released in .net service
Posted by sdc at 7/16/2004 12:43:02 PM
I have a .Net windows service that has 4 threads. Each thread handles large amount of string data. The threads are out to sleep and awaken after 1 minute intervals.
From the start of the service, the memory consumption keeps increasing to a point, where 'out of memory' exception is generated and ... more >>
Weak Reference Race Condition
Posted by Chris Mullins at 7/15/2004 3:55:13 PM
If I have an object held only by a weak reference, and I write code that
looks like:
dim strongRef as Object
if wr.IsAlive() then
strongRef=wr.Target
else
strongRef=new MyObject()
end if
There is a fairly signifigant race condition - between the "wr.IsAlive" call
and the wr.Target c... more >>
|