Page 1 of 1

SAPI.h Help

PostPosted: Wed Jul 20, 2016 2:08 pm
by HsiaLin
I need some help getting a project that has sapi.h and sphelper.h to compile.
Its rather easy to see what i mean, just make a new project and add

#include <SAPI.h>
#include <sphelper.h>

to the top, it will not compile.

Anyone know why?

I have added sapi.lib to the project, still not compiling.

Re: SAPI.h Help

PostPosted: Wed Jul 20, 2016 3:27 pm
by HsiaLin
Found out what was wrong, had to have include files in this order

#include <vcl.h>
#include <SAPI.h>
#include <sphelper.h>