all groups > dotnet clr > october 2004 > threads for october 8 - 14, 2004
Filter by week: 1 2 3 4 5
Which is more efficient/faster: strint to integer conversion
Posted by JaD at 10/14/2004 5:06:20 PM
Question: Convert string to integer efficiency...
string s = "1";
Choice 1:
int i = Convert.ToInt32(s);
Choice 2:
int i = int.Parse(s);
Very curious.
Regards,
Jad
... more >>
IMetadataImport.EnumUserStrings garbage
Posted by Sacha Faust at 10/14/2004 3:06:31 PM
I'm calling IMetadataImport.EnumUserStrings from managed code and it's
returning me garbage strings.
I've converted the the interface method in managed code this way:
void EnumUserStrings(
ref IntPtr phEnum,
[Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder rStrings,
[In] uint cmax,
... more >>
AppDomain Unload
Posted by newsgroupposts NO[at]SPAM coolgoose.com at 10/14/2004 8:55:51 AM
Hello,
Is there a way that an AppDomain can be forced to be unloaded?
AppDomain.Unload often throws an exception because a thread internal
to the CLR/ Framework is still running and can't be stopped. Is there
a way to force unloading of the AppDomain or kill this thread before
attempting an unl... more >>
Threading
Posted by Mahita at 10/12/2004 7:59:06 PM
Hi,
I am getting the following error in my application:
Exception Type: System.Threading.ThreadAbortException
ExceptionState: System.Web.HttpApplication+CancelModuleException
Message: Thread was being aborted.
TargetSite: System.Data.SqlClient.SqlDataReader
ExecuteReader(System.Data.Command... more >>
inspecting the number of function calls within a particular functi
Posted by denz at 10/11/2004 8:01:07 AM
how can i count the number of function calls that a particular function
makes? i want to be able to inspect a dll and retrieve the number of function
calls for a particular function. i know that this is possible since ildasm
actually displays the opcodes for function calls and others within a ... more >>
AppDomain.ResourceResolve Event
Posted by Henning Krause [MVP] at 10/9/2004 9:06:42 PM
Hallo,
Can anybody explain me how to use the ResourceResolve Event? It should
return an Assembly. How do I get a resource in a assembly so that I can load
it? Or is this method used to load satelite assemblies?
But these assemblies are also resolved by the AssemblyResolve event...
Any clu... more >>
Fusion/Loader error
Posted by Gursharan at 10/8/2004 10:45:04 PM
My app supports en and ja cultures. The app fails on an Application Center
cluster and the fusion log shows 0x80070005 error (access denied). I have
checked permissions/ACLs on the assemblies, used tlist -m to check process
locks and we don't use impersonation.
Any other way to find out whi... more >>
outofmemoryException
Posted by Alex at 10/8/2004 8:35:49 PM
Hi,
I am accessing Blob from Oracle database using
OleDbDataReader,ExecuteReader method.I am getting an outofMemoryException
when blob keeps on accessing and total size of all the blobs exceeds 1 GB.
When I profiled the application with PerfMon.exe,in the graph always Large
Object Heap Size,... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System.Net.ScatterGatherBuffers.MemoryChuck allocates large byte[]
Posted by lwickland at 10/8/2004 10:07:03 AM
Summary: System.Net.ScatterGatherBuffers.MemoryChuck allocates inordinately
large byte[]s when sending large post data.
The following application consumes inordinate quantities of memory. My code
does not explicitly allocate memory in a loop nor does it explicitly allocate
large blocks of ... more >>
Profiling API & '#~' Metadata
Posted by Nadav at 10/8/2004 7:33:08 AM
Hi,
The problem:
**********
I am using the 'MetaData API' ('AssemblyLoadFinished') to manipulate an
assembly being loaded, I am changing the '#~' section of the metadata, this
section contain the metadata tables, when a class found in the manipulated
assembly is being created I get the f... more >>
|