Tomas said:
Also, btw, I don't know if anyone else is interested in this topic,
but I found one of Chris Brumme's post on the topic to be quite
enlightening:
http://blogs.msdn.com/cbrumme/archive/2003/08/20/51504.aspx
While it certainly sounded like the VC++ team needed co-operation of others
outside them, I do believe that all concerned work for the same company,
unless MS has been magically split up while I was in a trance <g> . How hard
can that really be ?
The Blog is interesting in that it further illuminates the problem. But some
of the programmer suggestions are already known from DllMain documentation.
I don't mind MS saying that this is what one has to do or not do in order to
get around this bug, as far as not using DllMain, unmanaged exports, or
whatever, if this was a valid workaround for this bug.
My disappointment is that the documented solution, even if one follows the
recommendations given there when writing mixed mode DLL assemblies as given
in the MSDN artcile about it, still provides no assurances that one's own
code will not hang. And that, in my way of viewing programming, means that
one simply can not program mixed mode DLL assemblies in C++. The
alternative, to create pure mode DLL assemblies in C++ is onerous to the
extreme to any C++ programmer used to the C++ standard library functionality
not to even speak of Boost and other advanced C++ libraries. And to tell
people to wait until 2005 before they can reliably create .NET components in
C++ is equally horrible. It is essentially cutting out C++ programmer's
ability to make a living programming .NET and since there are more C++
programmers than any other language it is not a funny result.
Between the unwillingness of MS to create a highly compliant C++ compiler
for many years of VC5/VC6 and the destruction of the ability of C++
programmers to fully be part on an equal basis with C# and VB .NET in the
first four years or so of .NET programming, I who have been a Windows
programmer for 14 years am seriously thinking of leaving this arena. I don't
know how others feel but I am tired of C++, still IMHO the best general
programming language in the world, being treated as second or third class
citizens of the modern Windows programming OSs.