Hello,
I've downloaded the Zeos7 components last week. At the start of using the components I used an old project (Zeos 6 & RAD 2006/C-Builder) and tried to make a new version of the program with zeos 7. There were no problems.
Today I tried to create a new project with the ZEOS 7 components and RAD 2009/C-Builder and it doesn't work. I always get runtime errors (access violations) at the startup part of the program. My programs doesn't run if there is only the ZConnection component @ the form. No configurations are made at the new component. If I create the dynamic component it's the same problem. If I use a zeos-component @ my project the programm will crash. the problems occurs after I write the following code - line "ZConnection1 = new TZConnection(NULL);" The definitions and includes ok.
Can you help me? What's wrong? Why does ist work with an "old" RAD 2007 project?
Thank you very much.
Marcus
Problems with RAD 2009 (C-Builder)
Moderators: gto, EgonHugeist, olehs
-
- Fresh Boarder
- Posts: 3
- Joined: 10.09.2008, 19:53
Re: Problems with RAD 2009 (C-Builder)
I tried to reproduce your error.bmarcus wrote:Hello,
I've downloaded the Zeos7 components last week. At the start of using the components I used an old project (Zeos 6 & RAD 2006/C-Builder) and tried to make a new version of the program with zeos 7. There were no problems.
Today I tried to create a new project with the ZEOS 7 components and RAD 2009/C-Builder and it doesn't work. I always get runtime errors (access violations) at the startup part of the program. My programs doesn't run if there is only the ZConnection component @ the form. No configurations are made at the new component. If I create the dynamic component it's the same problem. If I use a zeos-component @ my project the programm will crash. the problems occurs after I write the following code - line "ZConnection1 = new TZConnection(NULL);" The definitions and includes ok.
Can you help me? What's wrong? Why does ist work with an "old" RAD 2007 project?
Thank you very much.
Marcus
Are you linking with dinamic RTL? (Is the only way that I can produce a runtime exception)
I don't try to put the zeos RTL into a path accessible folder nor same as the exe. So I can't confirm that this exception also occurs when Zeos RTL are accessible.
I'm testing Zeos 7 in very unstable system:
-Windows 7 (public beta)
-MySQL 6.0.9
-Rad Studio 2009
All running in a virtual machine.
At now I can compile and use Zeos 7 with C++ Builder 2009 without any notable issue.
If you want a copy of working Builder 2009 project files , please refer this thread. http://zeos.firmos.at/viewtopic.php?t=2161
BTW after compiling you may notice an error in one auto created hpp (I don't remember which) simply comment or delete the duplicated line.
HI bulktrasher,
thank you for your fast reply.
Yesterday I did more tests the the ZEOS 7 and RAD and I've found out, that there must be a problem with the project files of RAD-studio.
If I create a cpp-project with RAD2007 and update it to RAD2009 there is no problem by using the zeos components. The problem only exists when the project is created in rad 2009. So there are some differences between a new project in RAD2009 and an updated project from RAD2007 to RAD2009. In both projects the dynamic RTL is enabled.
So back to your answer. I disabled the DRTL and tried to run a project created in RAD2009. So then it works.
Thank your again for your help and fast reply.
Marcus
thank you for your fast reply.
Yesterday I did more tests the the ZEOS 7 and RAD and I've found out, that there must be a problem with the project files of RAD-studio.
If I create a cpp-project with RAD2007 and update it to RAD2009 there is no problem by using the zeos components. The problem only exists when the project is created in rad 2009. So there are some differences between a new project in RAD2009 and an updated project from RAD2007 to RAD2009. In both projects the dynamic RTL is enabled.
So back to your answer. I disabled the DRTL and tried to run a project created in RAD2009. So then it works.
Thank your again for your help and fast reply.
Marcus