Re: trouble using quantlib with mfc windows application
Posted by Luigi Ballabio on Jan 14, 2005; 8:19am
URL: http://quantlib.414.s1.nabble.com/trouble-using-quantlib-with-mfc-windows-application-tp3520p3521.html
On 01/14/05 03:47:56, Satish Vangipuram wrote:
> i am unable to compile code when i included a couple of lines of code
> in a mfc windows application. the same code compiles when i create a
> dos console application under vsnet 2002.
Ouch. The only thing I can think of is that MFC defines some macro which is
interfering with the code... may you try running the preprocessor (not the
compiler) on your source and check what the compiler actually sees at line
81 of fdbsmoption.hpp? I don't know how to do it from the IDE, but you can
try "cl /E" or "cl /P" at the command line (you might have to provide
include paths as well.)
Later,
Luigi