access violation again (new one)

Started by andrew.nao1, May 01, 2014, 07:42:02 AM

Previous topic - Next topic

andrew.nao1

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

Is this in AutoCAD 2015? Which Windows version and architecture?
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

Quote from: owenwengerd on May 01, 2014, 07:47:47 AM
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

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.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

Quote from: owenwengerd on May 01, 2014, 09:07:37 AM
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

Quote from: andrew.nao1 on May 02, 2014, 06:18:06 AM
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.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

Quote from: owenwengerd on May 02, 2014, 08:05:12 AM
Quote from: andrew.nao1 on May 02, 2014, 06:18:06 AM
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

Quote from: andrew.nao1 on May 01, 2014, 07:56:43 AM
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.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

Quote from: owenwengerd on May 02, 2014, 08:36:07 AM
Quote from: andrew.nao1 on May 01, 2014, 07:56:43 AM
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

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.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

made a new odcl file.
this wont load at all in 2015. can you see if it loads for you

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

andrew.nao1

i wont for me, ive uninstalled odcl and acad 2015 cleaned out the registry and reinstalled.

still the same

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft