From: Michael on
On Jul 29, 1:35 am, "muriwai" <muri...(a)nospam.nospam> wrote:
> Hi,
>
> I am trying to compile a user mode managed C++ project with WinDDK
> 6001.18001, and I wonder whether it's supported at all.
>
> I defined the following in "sources":
>
> MANAGED_CXX=1
> URT_VER=2.0
>
> I am getting the following error: NMAKE : fatal error U1073: don't know how
> to make 'C:\WinDDK\6001~1.180\lib\crt\i386\libcmmt.lib'
>
> Thanks,
>
> Andrew

I have found that setting MCPP_TYPE=safe in your sources file will
cause the linker to attempt to link with mscoree.lib (URT 2). This is
a standard file in the platform SDK, and you can get a copy from there
(installed with VS2k5 as well). The WDK looks for this file in the
DDK_LIB_PATH, and it is not there by default, so you will have to copy
it into there. This directory is defined as <ddk>\lib\<osver>\*, so
for me it was "C:\WinDDK\6001.18001\lib\wxp\i386".

This will at least compile and link. I have not gone much further in
verifying that this works properly, but I wanted to let you know as
you appear to be the only other person on the planet trying this right
now, and if either of us have any progress to report, we can post
here.

The other option, MCPP_TYPE=pure may actually create a pure CLR file.

The safe option does impose some severe limitations, but this might
get you started.

-M