why the following exception occurs

why the following exception occurs

Anonymous
Not applicable
623 Views
2 Replies
Message 1 of 3

why the following exception occurs

Anonymous
Not applicable
Can anyone give me an idea why the following exception occurs:

Part of Debug Window output --
...............................
..............................
The thread 0xF5 has exited with code 0 (0x0).
The thread 0xF7 has exited with code 0 (0x0).
Loaded 'D:\Program Files\ACAD2000\erren.dll', no matching symbolic
information found.
First-chance exception in acad.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++
Exception.
First-chance exception in acad.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++
Exception.
The thread 0xDF has exited with code 20 (0x14).
AcDb.dll Terminating!
acfirst.dll Terminating!
The thread 0xFA has exited with code 20 (0x14).
The program 'D:\Program Files\ACAD2000\acad.exe' has exited with code 20
(0x14).


Thanks
-Partha
0 Likes
624 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Partha:

> First-chance exception in acad.exe...

We'll need to see the code that causes the exception. Set the debugger to
break on a Microsoft C++ exception, then past the offending code in a
message. 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
0 Likes
Message 3 of 3

Anonymous
Not applicable
Normally, you can ignor first-chance exception. See Mircosoft KB.

A TRY-CATCH handler can throw such an exception and most times, its ok.

Example-Snippet:

AcGeVector3dArray * p = NULL;
TRY
{
... = p[100]; // no element
}
CATCH(...)
{
throw ... // get a first-chance exeption ("handled error")
}

"Owen Wengerd" wrote in message
news:[email protected]...
> Partha:
>
> > First-chance exception in acad.exe...
>
> We'll need to see the code that causes the exception. Set the debugger
to
> break on a Microsoft C++ exception, then past the offending code in a
> message. 🙂
> --
> Owen Wengerd
> President, ManuSoft ==> http://www.manusoft.com
> VP Americas, CADLock, Inc. ==> http://www.cadlock.com
>
>
>
0 Likes