I read it on the newsgroups. And I must say it was the death-knell for
any thought I had of compiling my MFC app with CLR.
I've written lots of MFC apps but haven't been tempted to recompile
those with CLR. They will probably stay native (they'll still compile
OK with VC6 or 7). I'm not sure how many people are using MFC with
CLR, so maybe MS is just not getting enough feedback to fix problems.
On the other hand, I think some of the Microsoft techs like to close
out trouble tickets whether the problems are fixed or not. There...
all the bugs went away.
I would like to understand why mixed apps must link dynamically. Anyone?
Me too. I'm thinking that when the 2005 .NET Framework is installed
it may fix the bug I've seen, so I don't want to do that. Best find
out what it is now.
But if this shows up indirectly in mixed .NET / Win32 apps, then some
people are really stranded.
Back to the thread topic, I must say I am very shocked by what you are
telling us here. Is deployment of dynamic linked applications really so
difficult?
All VS2005 apps so far run fine from within VS2005, so maybe that's
the solution: Ship VS2005 with every app, with instructions on how to
run it in the debugger. <g>
I was originally skeptical someone told me about the DLL problem. I
told him that he must be doing something wrong (oops). After I was
able to get the bug to surface on a test machine, it now seems easily
reproducible.
I think MS has made DLL versioning way more difficult than it needed
to be. It seems unlikely that intermediate-level users are going to
wrap their minds around stuff that's thrown some of the experts here
(not speaking for myself). Versioned DLLs...great. But you need a
new DLL, complex folder names and other baggage. What did that save?
I have to question why they didn't just issue DLLs with a new name,
like VCRWhatever_50727.DLL. The app reports that it needs it and the
user does a search and downloads it. Forget about that happening now.
All this is for Win32 'Hello World.' Mixed mode has me concerned.
Anyway, policy files are the redeeming feature of the new garbled
mess. If they work, they would handle DLLs with new names and save
downloads if version changes are minor (as is apparently the current
case...VS is creating manifests with old DLL names).
I'm still trying to figure out why this got so convoluted. There is
apparently no way to trace back problems. It has cost me hours. I
know developers who have given up and gone back to earlier compilers.
VS2005 has some compelling features but it looks like beta 3 so far.
I'm not sure how they can fix this.