custom ddedit access violation

Started by andrew.nao1, April 30, 2014, 08:27:58 AM

Previous topic - Next topic

andrew.nao1

ok.
well i made a stripped, stripped down version (removed all lsp functions and left in odcl code and the dialog wont even close when you click on the "cancel" button





owenwengerd

Quote from: owenwengerd on May 02, 2014, 08:15:12 AM
1) Start AutoCAD.
2) Create a text entity with the TEXT command anywhere on screen.
3) Enter (load "test-lisp") to load the test code.
4) When prompted to select text, select the text entity.
5) Here it crashes with a fatal error, as per attached screen capture.

I am able to reproduce the problem with the following changes to the steps I deduced above:

5) Press the [OK] button.
6) Press the [OK] button a second time.
7) Crash.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Quote from: andrew.nao1 on May 02, 2014, 09:11:44 AM
... the dialog wont even close when you click on the "cancel" button

I cannot reproduce this. I loaded the .lsp, clicked on [Cancel], and the dialog closed.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Quote from: owenwengerd on May 03, 2014, 02:27:25 PM
Quote from: owenwengerd on May 02, 2014, 08:15:12 AM
1) Start AutoCAD.
2) Create a text entity with the TEXT command anywhere on screen.
3) Enter (load "test-lisp") to load the test code.
4) When prompted to select text, select the text entity.
5) Here it crashes with a fatal error, as per attached screen capture.

I am able to reproduce the problem with the following changes to the steps I deduced above:

5) Press the [OK] button.
6) Press the [OK] button a second time.
7) Crash.

This crash is caused by your use of (command). Changing it to (command-s) fixes the problem for me in AutoCAD 2015. See this thread.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

i will try this out and get back to you

andrew.nao1

#20
Quote from: owenwengerd on May 03, 2014, 02:51:35 PM


This crash is caused by your use of (command). Changing it to (command-s) fixes the problem for me in AutoCAD 2015. See this thread.

ok here is whats happening.
all work stations have build 8.0.0.6
my station is the only one with 2015

the changing "command" to "command-s" works for me in 2015, however when the file is loaded in a 2014 station i get the following errors. this error is consistant with all my 2014 work stations

when i click ok, the error just loops and i have to ctrl-alt-del to kill the process

edit: when i change the "command-s" back to "command" the errors go away in 2014 but are back for me in 2015

andrew.nao1

i didnt know command-s was an autocad thing.

sorry Owen... i just have to find a way around that for now