I am trying to use MFC with ProC.
Functions.pc is where I do the ProC syntax to connect to the database. So I include the 'Functions.h'
in the dialog model where I want to call the functions in 'Funtions.h'
. And now I got this error.
Add directive to 'stdafx.h' or rebuild precompiled header
I understand that I need to include 'stdafx.h'
to 'Functions.h'
for it to work. And I did that. It can compile,but then when I try to run the program,it won't recognize the syntax of ProC created by the 'Functions.cpp'
created. I don't really understand how to rebuild the precompiled header since I don't understand the codes in 'stdafx.h'
.
The common way to use precompiled headers on windows is
To trigger a precompiled header rebuild,