Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 17 of 17 total
Thread Using EDB in a dll
Sat, Aug 11 2007 3:05 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


As a guess at that point the engine has been freed.

Roy Lambert
Sun, Aug 12 2007 11:28 PMPermanent Link

Michael Fullerton
On Sat, 11 Aug 2007 08:02:02 +0100, Roy Lambert
<roy.lambert@skynet.co.uk> wrote:

>As a guess at that point the engine has been freed.

Maybe. I checked and the engine is not nil at this point though. And
if I remove the line in the destroy event it still AV's somewhere
after leaving this event..
Mon, Aug 13 2007 4:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< For some reason I can't get breakpoints to work. But through logging I
have traced the problem to the DataModuleDestroy event. All I do there is
set the DBEngine.Active:= False; Why would this cause an AV? >>

Is the data module declared as the first form/module in the creation order
for the project ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Aug 13 2007 4:34 PMPermanent Link

Michael Fullerton
On Mon, 13 Aug 2007 16:21:34 -0500, "Tim Young [Elevate Software]"
<timyoung@elevatesoft.com> wrote:

>Michael,
>
><< For some reason I can't get breakpoints to work. But through logging I
>have traced the problem to the DataModuleDestroy event. All I do there is
>set the DBEngine.Active:= False; Why would this cause an AV? >>
>
>Is the data module declared as the first form/module in the creation order
>for the project ?

No second. I tried putting it first and last but get the exact same
problem no matter which position it is in.
Tue, Aug 14 2007 4:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< No second. I tried putting it first and last but get the exact same
problem no matter which position it is in. >>

It should be first if you're referring to it in any subsequent forms that
are also auto-created.

Are you using a shared memory manager or any runtime packages in the DLL ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Aug 14 2007 5:42 PMPermanent Link

Michael Fullerton
On Tue, 14 Aug 2007 16:51:38 -0500, "Tim Young [Elevate Software]"
<timyoung@elevatesoft.com> wrote:

>Michael,
>
><< No second. I tried putting it first and last but get the exact same
>problem no matter which position it is in. >>
>
>It should be first if you're referring to it in any subsequent forms that
>are also auto-created.

There is only one other form and it does not refer to the DataModule.

>Are you using a shared memory manager or any runtime packages in the DLL ?

I am not using a shared memory manager. The only third party packages
used in the dll besides EDB are the TurboSynch Palm components from
TabDee. Note that the conduit dll had no problems at all when using
DBISAM.
Wed, Aug 15 2007 6:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I am not using a shared memory manager. The only third party packages
used in the dll besides EDB are the TurboSynch Palm components from TabDee.
Note that the conduit dll had no problems at all when using DBISAM. >>

I understand, but that really doesn't mean much in the grand scheme of
things since DBISAM is a completely different product.

If you want to send me the source code to the project along with any
components used, I can test it here and find out what the issue is.

--
Tim Young
Elevate Software
www.elevatesoft.com

« Previous PagePage 2 of 2
Jump to Page:  1 2
Image