error exiting Excel

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error exiting Excel

Ferdinando M. Ametrano-3
Hi Eric

I don't know if it is related to the crash recently reported but
exiting Excel I now receive the error message "The macro
'ohAllObjectDelete' cannot be found".
Then I click OK and another error message is displayed "Error
unloading ObjectHandler: Error in call to Excel: (255) callback
failed: Invalid XLOPER"

ciao -- Nando

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: error exiting Excel

Ferdinando M. Ametrano-3
Ok I found out the problem. In xlAutoClose() the ohAllObjectDelete was
called, and I just renamed it as ohRepositoryDeleteAllObjects.
I wasn't aware of xlAutoClose.

BTW why is ohRepositoryDeleteAllObjects called? Is it really necessary
in order to free the memory?

ciao -- Nando


On Mon, Sep 15, 2008 at 5:58 PM, Ferdinando Ametrano <[hidden email]> wrote:

> Hi Eric
>
> I don't know if it is related to the crash recently reported but
> exiting Excel I now receive the error message "The macro
> 'ohAllObjectDelete' cannot be found".
> Then I click OK and another error message is displayed "Error
> unloading ObjectHandler: Error in call to Excel: (255) callback
> failed: Invalid XLOPER"
>
> ciao -- Nando
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: error exiting Excel

Eric Ehlers-2
Hi Nando,

On Mon, September 15, 2008 18:16, Ferdinando Ametrano wrote:
> BTW why is ohRepositoryDeleteAllObjects called? Is it really necessary in
order to free the memory?

I added that many versions ago.  It fixed a crash at shutdown, if I remember
correctly it related to multiple dynamically linked XLLs.  It's a hack, it may
no longer be necessary and if it is then the problem should be fixed some
other way.

Regards,
Eric
-------------------------
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
Distributed computing for pricing analytics - Use Microsoft Excel as a client
to the Grid


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev