_$ (vl-load-com) (setq osdi (getvar "SDI")) (setvar "SDI" 1) (setq oli (getvar "LISPINIT")) (setvar "LISPINIT" 0) (setq file1 "C:/Auto CAD 2000/Drawing1.DWG") (vla-activate (vla-open (vla-get-documents (vlax-get-acad-object)) file1)) (setq loc (list 0 0)) (setq hei 1) (setq str "Adesu") (command "_text" loc hei "" str "") (prompt " SELECT A TEXT") (setq ss (ssget "x" '((0 . "TEXT")))) (command "_copyclip" ss "") (setq file2 "C:/Auto CAD 2000/Drawing2.DWG") (vla-activate (vla-open (vla-get-documents (vlax-get-acad-object)) file2)) (setq p1 (list 10 10)) (command "_pasteclip" p1 "") (setvar "SDI" osdi) (setvar "LISPINIT" oli) 0 1 1 0 "C:/Auto CAD 2000/Drawing1.DWG" nil (0 0) 1 "Adesu" ; error: Exception occurred: 0xC0000005 (Access Violation) ; warning: unwind skipped on exception ; error: Exception occurred: 0xC0000005 (Access Violation) ; error: Exception occurred: 0xC0000005 (Access Violation) ; error: Exception occurred: 0xC0000005 (Access Violation) _$