Boards /
Runtime/AutoLISP /
Topic 2136
access violation again (new one)
Started by andrew.nao1 ·
2014-05-01 14:42 UTC ·
15 replies · SMF topic #2136
andrew.nao1
2014-05-01 14:42 UTC
attached is the error i get along with the files
its a simple cut n paste
in the acad text window this is appeared
Command: (load "cutnpaste")
C:CUTNPASTE_CUTNPASTE_SLIDEVIEW2_ONCLICKED
Command: cutnpaste
; error: bad xsubr(L) instruction (offs code): 18429 0
owenwengerd
2014-05-01 14:47 UTC
Is this in AutoCAD 2015? Which Windows version and architecture?
owenwengerd
2014-05-01 14:53 UTC
I could not reproduce the problem. I commented out the references to missing files in your lisp code, started AutoCAD 2015, loaded the .lsp, and entered the cutnpaste command. The form displayed. I clicked on one of the buttons, and the form closed. I then closed AutoCAD.
andrew.nao1
2014-05-01 14:56 UTC
author=owenwengerd link=topic=2136.msg10659#msg10659 date=1398955667 wrote:
Is this in AutoCAD 2015? Which Windows version and architecture?
yes this is acad 2015
window 7 64 bit
FTR, when i open the odcl files in the alpha version of the studio and save them
and try to run them in acad 2014. they wont load at all
owenwengerd
2014-05-01 16:07 UTC
I opened cutnpaste.odcl in OpenDCL Studio 8.0.0.6, saved it, exited Studio, started AutoCAD 2014, loaded cutnpaste.lsp, entered the cutnpaste command, and the form displayed without error.
andrew.nao1
2014-05-02 13:18 UTC
author=owenwengerd link=topic=2136.msg10663#msg10663 date=1398960457 wrote:
I opened cutnpaste.odcl in OpenDCL Studio 8.0.0.6, saved it, exited Studio, started AutoCAD 2014, loaded cutnpaste.lsp, entered the cutnpaste command, and the form displayed without error.
yes, it work no problem in 2014..
2015 is the issue
owenwengerd
2014-05-02 15:05 UTC
author=andrew.nao1 link=topic=2136.msg10665#msg10665 date=1399036686 wrote:
yes, it work no problem in 2014..
2015 is the issue
You said in the previous message that it fails in AutoCAD 2014. Please clarify.
andrew.nao1
2014-05-02 15:15 UTC
author=owenwengerd link=topic=2136.msg10667#msg10667 date=1399043112 wrote:
[quote author=andrew.nao1 link=topic=2136.msg10665#msg10665 date=1399036686]
yes, it work no problem in 2014..
2015 is the issue
You said in the previous message that it fails in AutoCAD 2014. Please clarify.
no sir, no mention of 2014 with this particular issue
owenwengerd
2014-05-02 15:36 UTC
author=andrew.nao1 link=topic=2136.msg10661#msg10661 date=1398956203 wrote:
FTR, when i open the odcl files in the alpha version of the studio and save them
and try to run them in acad 2014. they wont load at all
Please clarify what you meant.
andrew.nao1
2014-05-02 16:16 UTC
author=owenwengerd link=topic=2136.msg10671#msg10671 date=1399044967 wrote:
[quote author=andrew.nao1 link=topic=2136.msg10661#msg10661 date=1398956203]
FTR, when i open the odcl files in the alpha version of the studio and save them
and try to run them in acad 2014. they wont load at all
Please clarify what you meant.
my mistake, i misunderstood since i have 2 issues going.
when the odcl files are opened and saved in vers 8 studio then i run "cutnpaste" in 2014, i get the above error and then "project cannot be loaded"
if i open the files in ver7 studio and save them, they work fine
owenwengerd
2014-05-02 16:21 UTC
Since I could not reproduce the problem, there is either a missing step, something specific to your environment, or human error. I recommend to try the steps on a different system to see if you can reproduce it.
andrew.nao1
2014-05-02 17:38 UTC
made a new odcl file.
this wont load at all in 2015. can you see if it loads for you
owenwengerd
2014-05-03 08:04 UTC
I commented out the references to missing files, then loaded the lisp file and entered CUTPAS. It displayed the dialog as expected. If I click on any button, the dialog closes.
andrew.nao1
2014-05-05 13:40 UTC
i wont for me, ive uninstalled odcl and acad 2015 cleaned out the registry and reinstalled.
still the same
owenwengerd
2014-05-05 13:54 UTC
Have you done exactly what I did? Have you tested on other systems? If you can find one that works and one that doesn't, then you can compare the differences to find the missing ingredient.
andrew.nao1
2014-05-05 16:08 UTC
the command-s fix any issue i was having in 2015 but 2014 has issues now. see other post for errors