using CreateObject from delphi
Posted on 2006-05-03
hi, i have an application that we use at the office that provides an interface for the programmers, apparently from a DLL or a service.
It came with a good example to that interface as a VBScript:
language = "VBScript"
On Error Resume Next
Set MyObj = CreateObject ("TheApp.Application")
MyObj.NoGUI = False
done = MyObj.PerformTheThing()
If not done then
MsgBox "MyApp: " & MyObj.GetErrorText
Set MyObj = nothing
now, i am in need to perform th exact same thing from an application being written in delphi, is there any way to call CreateObject and perform the same functions?
code will be appreciated,