FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at 206206edh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm writing a plugin that is supposed to read data from a binary file on startup. Upon starting up it is supposed to read the data from the file and ask the user to select a location to display the data in the table. The plugin is supposed to programmatically minimize the form and then ask the user in AutoCAD's command line to select the point where the table is supposed to be
WindowsDoors f = (WindowsDoors)WindowsDoors.ActiveForm;
f.WindowState = FormWindowState.Minimized;
pr = ed.GetPoint("\nEnter table insertion point: ");
However, upon trying to execute the middle line of code shown to minimize the form, AutoCAD crashes with a dialog box saying "FATAL ERROR: Unhandled Access Violation Reading 0x0000 Exception at 206206edh"
I suspect I have to programmatically set the WindowsDoors f object to be ok with being messed with programmatically but am not sure if I am right or how to do that if I am