Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Public Beta Tests » View Thread |
Messages 1 to 9 of 9 total |
Class TEDBEngine Not Found Error? |
Fri, Jan 26 2007 10:10 PM | Permanent Link |
Altaireon | I started a new appliaction with Delphi 2006. I placed a TEDBengine, TEDBSession, and a TEDBDatabase component on a data module. I run the application and get the error described in the subject
line. The edbcomps unit is listed in the uses clause of the unit. When I run the CDCollector app I do not get this error. When I create a new app from scratch and use the aforementioned compoents the error occurs each and every time. Any ideas? Tom Altaireon |
Sat, Jan 27 2007 9:06 AM | Permanent Link |
Steve Forbes Team Elevate | Hi Tom,
I have experienced this a number of times. Using BDS2006, it misses adding the : EDBEngine1: TEDBEngine; to the class declaration default section. You can type it in yourself and the error will go away, but this is really weird (and possibly a BDS2006 IDE problem) -- Best regards Steve "Altaireon" <tjm@altaireon.com> wrote in message news:19C5557E-047D-40F1-BF0C-975D9828E7AD@news.elevatesoft.com... >I started a new appliaction with Delphi 2006. I placed a TEDBengine, >TEDBSession, and a TEDBDatabase component on a data module. I run the >application and get the error described in the subject > line. The edbcomps unit is listed in the uses clause of the unit. When I > run the CDCollector app I do not get this error. When I create a new app > from scratch and use the aforementioned compoents the > error occurs each and every time. Any ideas? > > Tom > Altaireon > |
Sat, Jan 27 2007 10:48 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tom,
<< I started a new appliaction with Delphi 2006. I placed a TEDBengine, TEDBSession, and a TEDBDatabase component on a data module. I run the application and get the error described in the subject line. The edbcomps unit is listed in the uses clause of the unit. When I run the CDCollector app I do not get this error. When I create a new app from scratch and use the aforementioned compoents the error occurs each and every time. Any ideas? >> It's a bug in BDS 2006, and the solution is what Steve indicates. I've had it happen to me a couple of times, and I have no idea what causes it exactly other than something wrong with the IDE. -- Tim Young Elevate Software www.elevatesoft.com |
Sat, Jan 27 2007 2:33 PM | Permanent Link |
Altaireon | Thanks for the info. That did the trick.
I've seen this error a few times before when creating object definitions in the DFM and forgetting to put the class references in the PAS file. This is the first time I seen this problem when adding a component directly from the pallette or cut and pasting it from the clip board. The solution never occured to me until you mentioned it then it became rather obvious. Thanks again for your help. When deleting TEDDatabase from the data module I get an Access violation at address 51F515BE in module "rtl100.bpl" read of address 00000008. I am not sure what causes this, but the database can not be deleted directly from the data module. I am using Delphi 2006 Enterprise with all of the latest updates, rollups, and Hot Fixes. I can easily get around this Access violation by removing the class reference in the PAS file and deleting the object definition in the DFM so its not a big deal for me. Just a nuisance. |
Sat, Jan 27 2007 11:23 PM | Permanent Link |
Steve Forbes Team Elevate | Hi Tim,
The weird thing is that the only component I have experienced this problem with inBDS2006 is TEDBEngine, and it is happening quite regularly. -- Best regards Steve "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message news:0D4A6B63-81FD-4A1C-959B-3DDFF5D47819@news.elevatesoft.com... > Tom, > > << I started a new appliaction with Delphi 2006. I placed a TEDBengine, > TEDBSession, and a TEDBDatabase component on a data module. I run the > application and get the error described in the subject line. The edbcomps > unit is listed in the uses clause of the unit. When I run the CDCollector > app I do not get this error. When I create a new app from scratch and use > the aforementioned compoents the error occurs each and every time. Any > ideas? >> > > It's a bug in BDS 2006, and the solution is what Steve indicates. I've > had it happen to me a couple of times, and I have no idea what causes it > exactly other than something wrong with the IDE. > > -- > Tim Young > Elevate Software > www.elevatesoft.com > |
Sun, Jan 28 2007 10:25 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tom,
<< When deleting TEDDatabase from the data module I get an Access violation at address 51F515BE in module "rtl100.bpl" read of address 00000008. I am not sure what causes this, but the database can not be deleted directly from the data module. I am using Delphi 2006 Enterprise with all of the latest updates, rollups, and Hot Fixes. >> Does this happen every time with BDS 2006 with any data module ? -- Tim Young Elevate Software www.elevatesoft.com |
Sun, Jan 28 2007 10:27 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Steve,
<< The weird thing is that the only component I have experienced this problem with in BDS2006 is TEDBEngine, and it is happening quite regularly. >> Sure, but it certainly wasn't an issue with C5, C6, D5, D6, D7, K2 or K3, so for now I'm assuming that they screwed something up in the IDE. TEDBEngine uses a single-instance model for instantiation, but nothing we're doing is improper or not part of the standard TObject instantiation methods. -- Tim Young Elevate Software www.elevatesoft.com |
Sun, Jan 28 2007 7:58 PM | Permanent Link |
Altaireon | Tim:
I can reproduce this error every time even with your CDCollector program. Steps to reproduce: 1. Open Delphi 2006 (I am using the Enterprise edition). 2. Open the CDCollector project. 3. Open the CDCollectorDataModule (Data.pas). 4. Delete the CDCollectorEnine component from the DataModule (click on it with your mouse and press the delete key). 5. The CDCollectdorEngine component should now be deleted. 6. Now try and delete either the CDCollectorSession or CDCollectorDatabase components. 7. You should get the Access Violtion I mentioned earlier (I can repeat it each and everytime). Curiously, if you delete the components in reverse order, the Access violation does not occur. I suspect its a notification issue bewteen the components. The Session and Database components do not like it when the Engine is deleted first. Here are the details for the exception reported by Delphi: + $0[51F515BE]{rtl100.bpl } Classes.Classes.TList.IndexOf (Line 3018, "classes.pas" + 2) + $0 + $0[51F26B4B]{rtl100.bpl } System.System.@HandleAnyException (Line 9980, "system.pas" + 13) + $0 + $41[7C903786]{ntdll.dll } RtlConvertUlongToLargeInteger + $41 + $9[7C90EAF5]{ntdll.dll } KiUserExceptionDispatcher + $9 Its pretty much a catastrophic error in that it sometimes brings Delphi down. I have to go to the task manager shut Delphi down and restart it. Since I am aware of this, I avoid deleting the components, engine first. Tom Altaireon |
Mon, Jan 29 2007 6:42 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tom,
<< Curiously, if you delete the components in reverse order, the Access violation does not occur. I suspect its a notification issue bewteen the components. The Session and Database components do not like it when the Engine is deleted first. >> I got it with Delphi 7 also, so I'll see what I can find. Thanks, -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, April 27, 2024 at 08:52 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |