Hi all,
I run into troubles regarding ActiveX Implementation during Runtime Session. I followed the example in AXControlSite class>>example3 by putting the method into a non-stripping Class. By sending the message on the customers machine I receive: IDispatch does not understand redraw Dolphin Smalltalk Active-X Host Error creating control: 'MSFlexGridLib.MSFlexGrid.1' Unable to create instance of control. The error was: 80040112 It seems that MSFlexGridLib.OCX is not properly installed, although I registered that Component from inside Word2000. The runtime .exe is constructed under Win98. The customers use NT4. Any Suggestions ? John |
John
You wrote in message news:9pcaq9$ho04e$[hidden email]... > > I run into troubles regarding ActiveX Implementation during Runtime Session. > I followed the example in AXControlSite class>>example3 by putting the > method into a non-stripping Class. > By sending the message on the customers machine I receive: > > IDispatch does not understand redraw > Dolphin Smalltalk Active-X Host > Error creating control: 'MSFlexGridLib.MSFlexGrid.1' > Unable to create instance of control. > The error was: 80040112 > > It seems that MSFlexGridLib.OCX is not properly installed, although I > registered that Component from inside Word2000. > The runtime .exe is constructed under Win98. The customers use NT4. Displaying the result of evaluating: HRESULT fromInteger: 16r80040112 asSDword wiill reveal all. Basically this is a licensed control and you must (a) have a MS development license (e.g. from Visual Studio) to distribute it legally, and (b) you need to specify the runtime license key to be used to create it, e.g. by setting it in the properties of the hosting AXControlSite in the View Composer, or by passing it to the relevant instance creation methods of COMInterface when creating a licensed control outside a control site. Try searching MSDN to find out more about licensing of ActiveX controls. Regards Blair |
Blair,
Thanka a lot for your advice. I searched MSDN and now I am understanding a bit more about the approach of licensed controls. Although, I am still stucking. I have a license on Visual C++. How does the licensed FlexGrid component reveal its runtime license key ?. Do I have to create a lic-file and how to implement the lic filename into the application ? Or do I have to build a new library including the specified component which seems to be not too simple ? Or do I just add the installtion code of Visual C++ as the license key of the control site. I ask you for a short hint again. John Blair McGlashan schrieb in Nachricht <9pcqht$i19v3$[hidden email]>... >John > >You wrote in message news:9pcaq9$ho04e$[hidden email]... > >Displaying the result of evaluating: > > HRESULT fromInteger: 16r80040112 asSDword > >wiill reveal all. Basically this is a licensed control and you must (a) have >a MS development license (e.g. from Visual Studio) to distribute it legally, >and (b) you need to specify the runtime license key to be used to create it, >e.g. by setting it in the properties of the hosting AXControlSite in the >View Composer, or by passing it to the relevant instance creation methods of >COMInterface when creating a licensed control outside a control site. > >Try searching MSDN to find out more about licensing of ActiveX controls. > >Regards > >Blair > > |
Free forum by Nabble | Edit this page |