Hi List,
I'm currently playing around the with ICorProfilerxx stuff. I wanted to create a COM object implementing ICorProfilerCallback to profile my .NET stuff. To that end I create an ATL attributed COM project and include the following lines in stdafx.h and tried to compile. #include <cor.h> #include <corhdr.h> #include <corhlpr.h> #include <corerror.h> #include <mscoree.h> #include <corsym.h> #include <corpub.h> #include <corsvc.h> #include <corprof.h> #include <cordebug.h> Now, since this is an attributed project, all kinds of mystical things happen under the hood and my project's _xxx.idl file ends up referencing mscoree.idl. The midl compiler fails because mscoree.idl has this line in it: #include "version\__official__.ver" Hmmm, what's going on here? Is MS trying to prevent me from including the mscoree.idl file? Anyway, the scarry part is that a year ago or so I was perfectly able to produce a COM object implementing ICorProfilerCallback but I forgot how I did it and lost the code.... I must be getting old and senile. Can anyone point me to my obvious stupidity? Cheers Frederic =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
