PDA

View Full Version : Problem with packages


Shloma Baum
07-Feb-2006, 02:49 PM
Hi,

I would like to ask I'm still on 4.6 (impossible to upgrade at the moment),
I have recently followed this link: http://www.saxon.co.uk/SinglePkg/.
In-Short this shows how to make that all third party packages should be
embedded into one single bpl, since then whenever I compile my main app I
get the following exception after compiling "Cannot found the
"ExceptionLog.HookedRaise" procedure.".

Also it sometimes does not show the line number where the exception
occoured, although it does show the call stack.

Best Regards,
Shloma

admin
08-Feb-2006, 06:17 AM
Hi,

Shloma Baum wrote:
> Hi,
>
> I would like to ask I'm still on 4.6 (impossible to upgrade at the moment),
> I have recently followed this link: http://www.saxon.co.uk/SinglePkg/.
> In-Short this shows how to make that all third party packages should be
> embedded into one single bpl, since then whenever I compile my main app I
> get the following exception after compiling "Cannot found the
> "ExceptionLog.HookedRaise" procedure.".
>
> Also it sometimes does not show the line number where the exception
> occoured, although it does show the call stack.
>
> Best Regards,
> Shloma

I'm sorry buy EurekaLog did not works if used as run-time package, you
must compile it directly on your project (not as a separated package).

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

Shloma Baum
08-Feb-2006, 04:43 PM
Hi Fabio,

So does this mean that if compile with packages the call stack and the line
number will only be shown for the units of my application and not for all
third party units (that are compiled into the package)?,

If thats the case what would happen when the only source that causes the
exception is a result of a third party bad code? how would it work?

Best Regards,
Shloma


"admin" <support@eurekalog.com> wrote in message
news:dsc5rk$p3$1@plesk.eurekalog.com...
> Hi,
>
> Shloma Baum wrote:
>> Hi,
>>
>> I would like to ask I'm still on 4.6 (impossible to upgrade at the
>> moment), I have recently followed this link:
>> http://www.saxon.co.uk/SinglePkg/. In-Short this shows how to make that
>> all third party packages should be embedded into one single bpl, since
>> then whenever I compile my main app I get the following exception after
>> compiling "Cannot found the "ExceptionLog.HookedRaise" procedure.".
>>
>> Also it sometimes does not show the line number where the exception
>> occoured, although it does show the call stack.
>>
>> Best Regards,
>> Shloma
>
> I'm sorry buy EurekaLog did not works if used as run-time package, you
> must compile it directly on your project (not as a separated package).
>
> --
> Best regards...
>
> Fabio Dell'Aria.
> ----------------
> http://www.eurekalog.com
> Catch every BUG, every time!

admin
09-Feb-2006, 05:36 AM
Hi,

Shloma Baum wrote:
> Hi Fabio,
>
> So does this mean that if compile with packages the call stack and the line
> number will only be shown for the units of my application and not for all
> third party units (that are compiled into the package)?,
>
> If thats the case what would happen when the only source that causes the
> exception is a result of a third party bad code? how would it work?
>
> Best Regards,
> Shloma
>
> [...]
>

The real problem is that EurekaLog it isn't designed to can works as
run-time packages, so you can use how many run-time packages do you need
in your application, but not EurekaLog (remove it from the
"Project/Options/Packages/Build with runtime Packages" options field).
So all the EurekaLog features will works fine!

I hope to have answered to you now! :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!