Author | Topic: :initClass and activeX | |
---|---|---|
AUGE_OHR | :initClass and activeX on Sun, 15 Feb 2009 04:00:16 +0100 hi, *** quote *** CLASS HX_InitGlob EXPORTED: CLASS VAR oGlobalSettings CLASS METHOD initClass() METHOD initActiveX() VAR oImageManagerIcons ENDCLASS CLASS METHOD HX_InitGlob:initClass() IF NIL == ::oGlobalSettings ::oGlobalSettings := CreateObject("Codejock.SuiteControlsGlobalSet ::oGlobalSettings:Office2007Images := "c:\Programme\Codejock Software\A ENDIF RETURN self METHOD HX_InitGlob:initActiveX() IF NIL == ::oImageManagerIcons ::oImageManagerIcons := XbpActiveXControl():new(,, {0,0}, {0,0} ) ::oImageManagerIcons := CreateObject("Codejock.ImageManager.13.0. and here the Problem ::oImageManagerIcons:create() <- hang here ENDIF RETURN self *** eof *** why can i use CreateObject but not XbpActiveXControl() in :InitClass ? greetings by OHR Jimmy | |
AUGE_OHR | Re: :initClass and activeX on Sun, 15 Feb 2009 04:23:18 +0100 sorry > ::oImageManagerIcons := CreateObject("Codejock.ImageManager.13.0. is ::oImageManagerIcons:CLSID := "Codejock.ImageManager.13.0.0" just wrong copy/past so Question > why can i use CreateObject but not XbpActiveXControl() in :InitClass ? still remain greetings by OHR Jimmy |