How to catch AutoCAD aborting

How to catch AutoCAD aborting

Anonymous
Not applicable
348 Views
2 Replies
Message 1 of 3

How to catch AutoCAD aborting

Anonymous
Not applicable
Hi everybody!

I have a large project consist of several DBXs and ARXs. Sometimes I
obtains "AutoCAD Error Aborting" message box: "FATAL ERROR:
Unimplemented AcRxClass::copyFrom() function invoked".

After pressing "Ok" button I obtains "Access violation" exception and
call stack shows something in depth of MFC. I'm already switch "Stop
always" for "Access violation" exceptions.

Does anybody know how to catch real call stack? Any ideas?

--
Best regards,
Sergey Y. Kazakov
0 Likes
349 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Sergey Y. Kazakov wrote:

> I have a large project consist of several DBXs and ARXs. Sometimes I
> obtains "AutoCAD Error Aborting" message box: "FATAL ERROR:
> Unimplemented AcRxClass::copyFrom() function invoked".

I'm currently in the process of tracking done a similar problem. So far
I have found a problem with the usage of acedSetCurrentView(). This
function is used in our ARX application to set the view in a model space
viewport contained in the paperspace. It switches ACAD into model space
if neccessary (which it is in our case).
In my application the problem seems to vanish, if I reswitch to paper
space after the call. The real problem might be caused by some other
code later on, but maybe this can help you at least to get on the right
track during your search.

> After pressing "Ok" button I obtains "Access violation" exception and
> call stack shows something in depth of MFC. I'm already switch "Stop
> always" for "Access violation" exceptions.
>
> Does anybody know how to catch real call stack? Any ideas?

To get a useful call stack, one would need a debug version of AutoCAD I
suppose.

--
Steffen Imhof Im Matthäuskreuz 3
ixact GmbH 64367 Mühltal
Das Software-Bauhaus +49 6151 503600
0 Likes
Message 3 of 3

Anonymous
Not applicable
On Tue, 11 Feb 2003 03:17:32 -0800, Steffen Imhof wrote:

> Sergey Y. Kazakov wrote:
>
>> I have a large project consist of several DBXs and ARXs. Sometimes I
>> obtains "AutoCAD Error Aborting" message box: "FATAL ERROR:
>> Unimplemented AcRxClass::copyFrom() function invoked".
>
> I'm currently in the process of tracking done a similar problem. So far I
> have found a problem with the usage of acedSetCurrentView(). This
> function is used in our ARX application to set the view in a model space
> viewport contained in the paperspace. It switches ACAD into model space
> if neccessary (which it is in our case).
> In my application the problem seems to vanish, if I reswitch to paper
> space after the call. The real problem might be caused by some other code
> later on, but maybe this can help you at least to get on the right track
> during your search.

Thank you, Steffen, for your help! Seem my problem is in switching between
Model and
Paper spaces too. I'll inform if I catch the problem.

>> After pressing "Ok" button I obtains "Access violation" exception and
>> call stack shows something in depth of MFC. I'm already switch "Stop
>> always" for "Access violation" exceptions.
>>
>> Does anybody know how to catch real call stack? Any ideas?
>
> To get a useful call stack, one would need a debug version of AutoCAD I
> suppose.

I'm already use debug version. Bu call stack is invalid. I can't catsh the
problem
even using NuMega BoundsChecker.

---
Best regards
Sergey Y. Kazakov
0 Likes