Page 1 of 1

Error compiling PgDacDemo

Posted: Fri 20 Jan 2012 14:43
by hwd
Hello,

i had installed the Demo-Version of PgDac and today installed the Pro Version over it.
Then i tried to compile the PgDacDemo. On opening the demo i get an
error:
[Window Title]
Fehler

[Content]
Fehler beim Erzeugen von Formular: Vorfahr für 'TPgConnectForm' nicht gefunden.

[OK]

Error creating form: Ancestor for 'TPgConnectForm' not found.

After that i tried to compile the demo.
There i get the info that PgDacVcl can not resolved.

Any idea what is wrong?

Posted: Mon 23 Jan 2012 11:26
by AlexP
Hello,

Please specify the following information:
- The name and the full version of your IDE;
- The full version of PgDAC;

Posted: Mon 23 Jan 2012 15:17
by hwd
Here are the Infos:
PgDac 3.1.4 Professional for Rad Studio XE2
Embarcadero® RAD Studio XE2 Version 16.0.4358.45540 Enterprise

Posted: Fri 27 Jan 2012 10:29
by AlexP
Hello,

This problem is due to the RadStudio XE2 behaviour when opening projects created in older versions of Delphi. For solving the problem, open the Demo project in RadStudio XE2 and re-save it. When re-opening, this problem doesn't occur.

Posted: Fri 27 Jan 2012 13:38
by hwd
Sorry, that did not solve the problem.
But finally i found the problem and the solution.
The demo tries to generate the *.dcu´s in the lib directory of the pgDac installation. The standard path is a subdirectory of programs.
Windows 7 does not allow writing in this directories.
Setting the path for dcu output in the project setting to an allowed path solves the problem.

Best regards

HWD

Posted: Mon 30 Jan 2012 13:33
by AlexP
Hello,

Glad to see that you solved the problem.
If you have any other questions, feel free to contact us.