Thinking In .NET

Access Thinking in C# (pre-release version) and more in the Library.

Free C# Compilers

Personal Homepage

My resume

I'm actively looking for contracting gigs. Whether you need mentoring, writing, or someone to just "shut up and code," I will exceed your expectations at a very reasonable rate. I'm located in the San Francisco Bay Area.

Click here to send an email to the editor of this weblog.

Thinking In .NET

Code, industry analysis, and miscellaneous cross-links from Larry O'Brien, the former editor of Computer Language and Software Development magazines.

To receive an occasional announcement message regarding my seminars or publications, please subscribe to my mailing list.

Email:

Friday, March 14, 2003

Just got off the phone with Nick Holdapp, Visual C++ Product Manager. There is a defect in VS.NET 2002 and the forthcoming VS.NET 2003 VC++ compiler that can cause an application freeze. What's interesting is that the defect is considered architectural and MS doesn't plan on patching it until the next major C++ release (i.e., VS.NET 2004 or what-have-you). The defect occurs while loading a DLL that combines managed and unmanaged code and this is the summary: "It is never safe to run managed code inside DllMain. This means that it is not safe for DllMain to be implemented in MSIL, nor is it safe for DllMain to directly or indirectly call a function that is implemented in MSIL. If managed code is run inside DllMain, deadlock is a possibility."

If you're working with Visual C++ and .NET, you definitely want to educate yourself on this defect.


9:18:24 AM    comment []

The contents of these pages represent the opinions of one person.
All contents © 2003 Larry O'Brien. All Rights Reserved.

 

Google

Search ThinkingIn.NET

March 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Feb   Apr


Click here to visit the Radio UserLand website.

Subscribe to "Thinking In .NET" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.