Author Topic: This program can not run, help me a look! Thanks  (Read 2247 times)

0 Members and 1 Guest are viewing this topic.

duotu007

  • Guest
This program can not run, help me a look! Thanks
« on: October 29, 2014, 01:18:55 AM »
(vla-getinterfaceobject (vlax-get-acad-object) "ScriptControl")  ;win7 64bit + cad 2012  >> error
; Error: error Automation. There was a problem loading the application
(vla-getinterfaceobject (vlax-get-acad-object) "ScriptControl")  ;win7 32bit + cad 2010  >> ok
;#<vla-object iscriptcontrol 064fdc48>

ChrisCarlson

  • Guest
Re: This program can not run, help me a look! Thanks
« Reply #1 on: October 29, 2014, 08:01:04 AM »
Yea, we will need much more than that.

Peruse lee's site on this

http://www.lee-mac.com/open.html

owenwengerd

  • Bull Frog
  • Posts: 451
Re: This program can not run, help me a look! Thanks
« Reply #2 on: October 29, 2014, 12:37:41 PM »
It looks like you do not have a 64-bit version of the control installed, only 32-bit.

highflyingbird

  • Bull Frog
  • Posts: 415
  • Later equals never.
Re: This program can not run, help me a look! Thanks
« Reply #3 on: November 01, 2014, 11:16:48 AM »
Maybe you will took a look here.
In my opinion:
If you installed a 32bit version of CAD on 64bit system,for example, AutoCAD 2006,you can run
(vlax-create-object "Scriptcontrol")  ,it works.
means:  Win 64 bit+ CAD 64 bit  >>  nil
              Win 64 bit+ CAD 32 bit >>  <vla-object iscriptcontrol XXXX>
              Win 32 bit+ CAD 32 bit >>  <vla-object iscriptcontrol XXXX>
I am a bilingualist,Chinese and Chinglish.

duotu007

  • Guest
Re: This program can not run, help me a look! Thanks
« Reply #4 on: November 07, 2014, 09:11:33 PM »
win7(64bit) + cad 2012(64bit)  >> error
win7(32bit) + cad 2010(32bit)  >> OK
This is the script itself?