- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi
A first chance exception of type 'System.AccessViolationException' occurred in Unknown Module.
the above message appears in vs2010's immediate window upon starting debuging vb.net code and it opening autocad2011, i.e. prior to actually executing the code's command.
(the vb project is targeting the .net framework 4, and the autocad2011 exe.config file has been de-commented to run .net 4. there appears plenty of system.windows.data errors too, as well as a couple of 'forgot to dispose?' i'm using the autocad sdk template 2011 on win7.)
the code itself runs most times, however, does also fatally crash stating 'FATAL ERROR: Unhandled Access Violation Reading 0x0000 at ea50bbe4h'.
although i seem to pin down the offending line in code, I have failed to overcome the problem in code and start wondering if it is really just down to the offending line in the code or actually related to the initial (above) error message.
help welcome, many thanks
Solved! Go to Solution.