.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

3 REPLIES 3
Reply
Message 1 of 4
HenryHe
434 Views, 3 Replies

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

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
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: HenryHe

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
Message 3 of 4
HenryHe
in reply to: HenryHe

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.
Message 4 of 4
Anonymous
in reply to: HenryHe

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost