CWinFormsView

  • Thread starter Thread starter MLM450
  • Start date Start date
M

MLM450

I am trying to use CWinFormsView. I have followed the instructions in
the Microsoft article on changing a CView based class to use it.
However, when I compile I get this message:

fatal error C1189: #error : MFC WinForms support requires /clr
(doesn't support oldSyntax)

But I have the CLR switch set to "Common Language Runtime Support
(/clr)" so what's the problem?
 
I am trying to use CWinFormsView. I have followed the instructions in
the Microsoft article on changing a CView based class to use it.
However, when I compile I get this message:

fatal error C1189: #error : MFC WinForms support requires /clr
(doesn't support oldSyntax)

But I have the CLR switch set to "Common Language Runtime Support
(/clr)" so what's the problem?

Which compiler are you using? The quip about the non-support of the "old"
syntax means that you must use VS2005 rather than VS2003 or VS2002.

Regards,
Will
 
Back
Top