.NET

Reply
Active Member
HenryHe
Posts: 9
Registered: ‎08-22-2005
Message 1 of 4 (157 Views)

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

157 Views, 3 Replies
08-22-2005 01:44 AM
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
*Albert Szilvasy
Message 2 of 4 (157 Views)

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

08-28-2005 11:54 AM 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
Active Member
HenryHe
Posts: 9
Registered: ‎08-22-2005
Message 3 of 4 (157 Views)

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

08-28-2005 11:54 PM 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.
*Albert Szilvasy
Message 4 of 4 (157 Views)

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

08-29-2005 09:33 AM 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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!