Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: 1129 Error and Object Open Interface in Type Library
DTAServCtrl.tlb. Delphi declares as DTAServCtrl_TLB
button event handler as follows:
procedure TForm1.ResetClick(Sender: TObject); var test : IDTAServCtrlRemote; {interface in type library} begin {Created instance of class CoDTAServCtrlRemote in type library and used instances IDTAServCtrlRemote interface} test := CoDTAServCtrlRemote.Create as IDTAServCtrlRemote; {Called interface reset method} test.Reset; end;We have tried registering using windows Reglib and then
test = ObjectOpen ("CoDTAServCtrlRemote.Create as IDTAServCtrlRemote") test.Resetbut this returns 1129 Oleinitiate: initiate failed on line:
test = ObjectOpen ("CoDTAServCtrlRemote.Create as IDTAServCtrlRemote")
Especialy look for the ProgID entry as that is what is generally used with ObjectOpen(), otherwise is only the CLSID is given, you may have to approach it via HTML or ASP pages/code.
Article ID: W15611
File Created: 2003:05:13:11:29:12
Last Updated: 2003:05:13:11:29:12