.NET-BroadcastEventWindow.1.0.5000.0.1:acad.exe - Application Error

.NET-BroadcastEventWindow.1.0.5000.0.1:acad.exe - Application Error

HenryHe
Explorer Explorer
985 Views
3 Replies
Message 1 of 4

.NET-BroadcastEventWindow.1.0.5000.0.1:acad.exe - Application Error

HenryHe
Explorer
Explorer
Hello All!
I have a .NET dll which is a DBX wrapper wrrited by VC++7.0 and Vc++.NET.
If I used (command"_.netload""my.dll") to load it.
I get a memory cannot be read error (below) messagebox when I close the acad.exe.

Title :.NET-BroadcastEventWindow.1.0.5000.0.1:acad.exe - Application Error
Text:The instruction at "0x091462c0" referenced memory as "0x00000000". The memory could not be "read". Click on OK to terminate the program.

But if I use the "netload" command in the command line,everything is ok.

It is a wonder,even if i used the (command"_.netload""my.dll") ,close acad.exe is normal as long as I run "netload" command in command line once.
Thanks
0 Likes
986 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Do you display any forms? I suspect that the problem has to do with how
AutoCAD's fibers and .NET logical threads interact. Does it happen with
VS2005 July CTP? Can you post some code that reproduces the problem?

albert

wrote in message news:4934571@discussion.autodesk.com...
Hello All!
I have a .NET dll which is a DBX wrapper wrrited by VC++7.0 and Vc++.NET.
If I used (command"_.netload""my.dll") to load it.
I get a memory cannot be read error (below) messagebox when I close the
acad.exe.

Title :.NET-BroadcastEventWindow.1.0.5000.0.1:acad.exe - Application Error
Text:The instruction at "0x091462c0" referenced memory as "0x00000000". The
memory could not be "read". Click on OK to terminate the program.

But if I use the "netload" command in the command line,everything is ok.

It is a wonder,even if i used the (command"_.netload""my.dll") ,close
acad.exe is normal as long as I run "netload" command in command line once.
Thanks
0 Likes
Message 3 of 4

HenryHe
Explorer
Explorer
I just load the dll. The wrapped DBX has more than 100 classes,so I can not post code.
I used the VC++.NET of VS2002 sp1.
Thanks.
0 Likes
Message 4 of 4

Anonymous
Not applicable
Well, there's 1 among those 100 that is causing the problem. If you can't
boil it down to a reproducible case then I'm afraid I won't be able to help
much.

Albert

wrote in message news:4941275@discussion.autodesk.com...
I just load the dll. The wrapped DBX has more than 100 classes,so I can not
post code.
I used the VC++.NET of VS2002 sp1.
Thanks.
0 Likes