Prev: Integrate Programmatically GUI into GUIDE gui
Next: can imfilter be call only one time for the following calculation?
From: Tejas Varunjikar on 19 Jul 2010 15:19 I wish to create a MFC application for xPC Target. I have already successfully created such application in Win32 console (command prompt). I'm using Visual C++ for this purpose. I include header files for xPC & xpcinitfree.c file in my project. When I try to compile it, it gives me an error saying "MFC requires C++ compilation (use a .cpp suffix)". This error is obtained when I have set project properties to "Not Using Precompiled Headers". I can't change xpciniitfree. extension to cpp since it will mess with other things in that code. If I use "Create Precompiled Header" option, it gives error: "...precompiled header file is from a previous version of compiler or precompiled header is C++ and you are using it from C (or vice versa). Would be great if someone can help me with this. Thanks. |