By user3460812 I am working on a firemonkey application.
I am including the file NSPrintInfo.h.
I am doing
the compiler can see the header file.
However, NSPrintInfo.h has a few #import statements like #import which gives error E2501: Unable to open import file ‘filename’ (C++).
The file exists, but why does the comppiler can’t import it? #include doesn’t give error; only #import does.
This is true for evert #import in the hearder files.
Why is it so? Is there a workaround?
Priya …read more