.NET

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

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

150 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 (150 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 (150 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 (150 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community