Page 1 of 1

Winapi.GDIPAPI.hpp

Posted: Tue Jun 04, 2013 12:48 pm
by 16464417
I cannot compile my project with the new TeeChart2013 due to a missing include file:

In the file 'VCLTee.TeeGDIPlus.hpp' in line 23 and 24:

#include <Winapi.GDIPAPI.hpp> // Pascal unit
#include <Winapi.GDIPOBJ.hpp> // Pascal unit

These file really does not exist. What's wrong here?

MDonath

Re: Winapi.GDIPAPI.hpp

Posted: Tue Jun 04, 2013 2:56 pm
by yeray
Hi MDonath,

What IDE are you using?

Re: Winapi.GDIPAPI.hpp

Posted: Tue Jun 04, 2013 3:30 pm
by 16464417
RAD Studio XE3, C++ Builder project.

If I add 'Winapi.GDIPAPI.pas' and 'Winapi.GDIPOBJ.pas' from 'C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\source\rtl\win' to my project, the missing header files are created. But I think, this is a very 'tricky' solution.

MDonath

Re: Winapi.GDIPAPI.hpp

Posted: Wed Jun 05, 2013 9:02 am
by yeray
Hi MDonath,

Thanks for sharing the solution.
Didn't it happen with the last v2012.07? Or what version do you come from?

Re: Winapi.GDIPAPI.hpp

Posted: Wed Jun 05, 2013 9:23 am
by 16464417
I am using the current version v2013.08.130521.

MDonath

Re: Winapi.GDIPAPI.hpp

Posted: Wed Jun 05, 2013 10:41 am
by 16565588
I have the same problem with XE3, but early I wrote about XE4

Re: Winapi.GDIPAPI.hpp

Posted: Wed Jun 05, 2013 11:25 am
by yeray
Hi,
MDonath wrote:I am using the current version v2013.08.130521.
I understand you noticed the issue with v2013.08, but I'm trying to identify the latest version that worked fine to check the differences between them.
anauta2014 wrote:I have the same problem with XE3, but early I wrote about XE4
You mean this? I'm not sure it is related to this.

Re: Winapi.GDIPAPI.hpp

Posted: Wed Jun 05, 2013 12:09 pm
by 16565588
Usually I have the message - not found GDIPapi...hpp file.
On one PC I have CBuilder XE4 and last TeeChart installed from binary, and it works fine.
But on the other PC I have full RadStudioXE4 and after the same binary installation
I can't compile C++ applications and have this error.

Re: Winapi.GDIPAPI.hpp

Posted: Wed Jun 05, 2013 12:17 pm
by 16464417
Okay, my previous version was 2012.07.121105.

MDonath

Re: Winapi.GDIPAPI.hpp

Posted: Thu Jun 06, 2013 3:25 pm
by yeray
Hello,
anauta2014 wrote:Usually I have the message - not found GDIPapi...hpp file.
On one PC I have CBuilder XE4 and last TeeChart installed from binary, and it works fine.
But on the other PC I have full RadStudioXE4 and after the same binary installation
I can't compile C++ applications and have this error.
Are there any other differences between these machines, like OS or other 3rd party tools?

Re: Winapi.GDIPAPI.hpp

Posted: Thu Jun 06, 2013 3:31 pm
by 16565588
Hi, Yeray
There is only one difference - one has CBuilder XE4 - Chart works
the other has full Rad Studio XE4 - this error exists.
The OS is the same - Win8-64, set of third party components also is the same, both computer I am using for application development and libraries have to be the the same.

Re: Winapi.GDIPAPI.hpp

Posted: Thu Jun 06, 2013 3:36 pm
by yeray
Hi,
MDonath wrote:Okay, my previous version was 2012.07.121105.
The GDIPAPI/TeeGDIPAPI and GDIPOBJ/TeeGDIPOBJ movement was discussed here:
http://www.teechart.net/support/viewtop ... 592#p58592