I am trying to try out adding a MFC dialog to a WPF window converting the dialog to a control as mentioned in this article.

http://msdn.microsoft.com/en-us/library/aa970061.aspx

How ever after I added the /CLR option to my project I get

error C2039: 'Windows' : is not a member of 'System' error.

I dont know what else needs to be done ?

Shashi