all groups > dotnet clr > september 2003 > threads for september 22 - 28, 2003
Filter by week: 1 2 3 4 5
About TypeBuilder
Posted by xiaorun huang at 9/28/2003 5:32:50 PM
I want to create a type like delegate with Emit API. But when i want to save
the assembly, it failed! I had call
SetImplementationFlags(
MethodImplAttributes.Runtime|MethodImplAttributes.Managed );
to set the method to runtime, but when I call the TypeBuilder instance's
CreateType, It will ... more >>
Taste this correction pack
Posted by Zlatko Cmelik at 9/28/2003 9:15:41 AM
Microsoft User
this is the latest version of security update, the
"September 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to maintain the ... more >>
bug in Replace In Files feature?
Posted by Zeng at 9/26/2003 6:10:00 PM
I keep getting the message "Cannot access c:\myfolder\myfile.cs" even though
I can check out the file then manually replace it. Everytime I use the
feature to replace a string for many files, I would have to run more than 10
times because of this. Every time I run, it find new files that it can... more >>
Managed C++ potential bug: Lack of "return" statement not an error
Posted by brikelly NO[at]SPAM hotmail.com at 9/26/2003 1:05:58 PM
Hi all,
With .NET 1.1, the following code does not give an error
during compilation:
Type*
foo()
{
if (0)
{
throw 1;
}
}
Note the lack of a possible valid return path! Typically, a C++
compiler will flag this with an error such as "not all control paths
return a... more >>
DLL Hell in .NET
Posted by Allan Wong at 9/25/2003 8:57:34 PM
What are the under-lying DLLs or libraries that .NET is sitting on which
after installing another program will cause the entire .NET Framework to
fail?
... more >>
.NET String class and ASCII NUL character question
Posted by Brian Quinlan at 9/25/2003 12:07:40 PM
Hi,
I've encountered a problem when using the String class in C#. Strings seem
to be truncated at the first NUL character. Am I correct?
Cheers,
Brian
... more >>
DEVPATH is not set. Falling through to regular bind.
Posted by Jim at 9/25/2003 11:51:19 AM
I have configured my machine.config file to have the
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
section and defined the DEVPATH as follows:
DEVPATH=D:\Development\VBInterop\HW.NET\;
What would cause the log viewer show that DEVPATH is not defined? It... more >>
HttpWebResponse's GetResponse() hangs and timeouts
Posted by google NO[at]SPAM waitefamily.com at 9/24/2003 1:57:43 PM
THE CODE:
I'm using an HttpWebResponse object to send an HTTP POST to a Java
server I have written and are running on the same machine (for dev and
testing). Here is the C# code snippet:
1 string clientAddr = "http://127.0.0.1:22225/";
2 try
3 {
4 webreq = (HttpWebRequest)WebReques... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Will TypeBuilder::DefineNestedEnum() ever appear again?
Posted by brikelly NO[at]SPAM hotmail.com at 9/24/2003 1:36:43 PM
Hi all,
I'm making heavy use of System::Reflection::Emit classes
right now, and I need to create an Enum within a class.
However, it appears that I can only create Enums at the
module level with ModuleBuilder::DefineEnum().
After an hour of MSDN and Google searching, I've found
year-old... more >>
CLR Bug Report: SetFunctionReJIT deadlocks
Posted by Patrick Grawehr at 9/23/2003 5:45:21 PM
Now I'm sure: There's a serious problem inside the CLR when calling
SetFunctionReJIT() on anything but the current method. Add (something like)
the following code as JITCompilationStarted callback in the profiler:
UINT g_testfunction=0;
STDMETHODIMP MyProfilerCallback::JITCompilationStarted(UI... more >>
SetFunctionReJIT causing deadlock in the CLR
Posted by Patrick Grawehr at 9/23/2003 12:29:04 AM
I can't figure out how to use ICorProfilerInfo::SetFunctionReJIT().
Every time I call it on a functionId other than the one which has been
passed to the current callback function (ie JITCompilationFinished()), the
CLR deadlocks on the next invocation of the method whose function id I've
passed.
... more >>
passing a struct by ref to unmanged code
Posted by codymanix at 9/22/2003 11:36:32 PM
i want to pass a struct by reference to a function in a c++ dll.
the problem is that the call causes an ArgumentException in the calling c#
code.
i already tried to use "out" instead of "ref" there was no exception
generated but i
saw in the unmanaged code all fields of the struct were uninit... more >>
Can someone explain Thread.SpinWait() method?
Posted by Ken Varn at 9/22/2003 5:59:39 PM
I was looking at the docs for Thread and can't understand the difference
between Thread.Sleep and Thread .SpinWait. What exactly does SpinWait do?
The MSDN docs are very general on this one.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
varnk@diebo... more >>
-- CLR : Garbage collected before Object is Invalid --
Posted by Mani Subramanian at 9/22/2003 5:53:18 PM
Hi,
I am running into situations where the objects in my
application become invalid in the course of the run.
I am pretty much sure about it, as If I run the sample in
the loop with a delay then it works fine, but when I run
it in a tight loop it gives the exception (like ivalid
object... more >>
Want to use GC with VB6.0 application
Posted by Salahuddin Khan at 9/22/2003 2:18:06 AM
I have some applictions built in VB6.0 by using ADO
Technology.
For performance increase I want to use Garbage Collection
utility.
Can any one help me in this regard.
Regards
Salahuddin... more >>
|