can'it get the OLE thing working.
this is my Maxscrpt.reg file
REGEDIT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; 1. Change the path in the last line of this file to point at your
; current 3ds Max executable directory, then
; 2. Double click this file in Windows Explorer
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; registration info MAX.Application (defaults to MAX.Application.12)
HKEY_CLASSES_ROOT\MAX.Application = OLE Automation MAX Application
HKEY_CLASSES_ROOT\MAX.Application\Clsid = {7FA22CB1-D26F-11d0-B260-00A0240CEEA3}
HKEY_CLASSES_ROOT\MAX.Application\CurVer = MAX.Application.12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; registration info MAX 12.0
; (Application Object)
HKEY_CLASSES_ROOT\MAX.Application.12 = OLE Automation MAX 12.0 Application
HKEY_CLASSES_ROOT\MAX.Application.12\Clsid = {7FA22CB1-D26F-11d0-B260-00A0240CEEA3}
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3} = OLE Automation MAX 12.0 Application
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\ProgID = MAX.Application.12
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\VersionIndependentProgID = MAX.Application
HKEY_CLASSES_ROOT\CLSID\{7FA22CB1-D26F-11d0-B260-00A0240CEEA3}\LocalServer32 = C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe
I double click it, still no problem. but i can't create an OLEObject
pshop=CreateOLEObject"Photoshop.Application"
-- Runtime error: createOLEObject: can't create instance Photoshop.Application
Am I doing something wrong?
By jos · 2012-01-20
Anubis · 2012-01-21