plz see this error
Managed C++/CLI
1
Posts
1
Posters
1
Views
1
Watching
-
i have a form and a button on it in csharp(pro 1) and i also add a managed lib progect(pro 2) to it.I creat dialog box in managed project and i want when a botton on form in csharp is clicked that dialog box should appear. is it possible ? because when i execute that code in managed class dlg_class *ptr; ptr=new dlg_class(); ptr->DoModal(); An error occure at above last line and that is D:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\include\afxv_w32.h(18) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Can any body tell how to over come it.i will be very thank full to u. r00d0034@yahoo.com