access violation again (new one)

Started by andrew.nao1 · 2014-05-01 14:42 UTC · 15 replies · SMF topic #2136

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
Attachments
Is this in AutoCAD 2015? Which Windows version and architecture?
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.
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
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.
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
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.
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
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.
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
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.
made a new odcl file.
this wont load at all in 2015. can you see if it loads for you
Attachments
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.
i wont for me, ive uninstalled odcl and acad 2015 cleaned out the registry and reinstalled.

still the same
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.
the command-s fix any issue i was having in 2015 but 2014 has issues now. see other post for errors