I tried installing wPDF into BCB6 but got an error from the WPPDFR1.hpp file when compiling the .bpk package. The error occured in the following part....
struct TWPDFFieldDef
{
int x;
int y;
int w;
int h;
int typ;
int mode;
int value;
char *init;
char *default;
char *hint;
char *text;
} ;
The char *default; line was rejected, I assume because 'default' is a reserved word in C++ ?
I changed this to char *defaultx; and the package compiled and installed ok.
I searched for an occurance of 'default' in files in the wPDF/BCB6 directory and didn't find any, so will this change cause a problem in running/using wPDF in my BCB6?
Wouldn't this show up for anyone installing wPDF for BCB6?
Thank you.