Skip to main content

[archive] OLE Automation with TIS2000 LT-Server?

  • September 15, 2009
  • 8 replies
  • 0 views

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten

8 replies

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
When interfacing an unknown control, it is always good to have an example at hand. Chances are, there are no example for COBOL, but there might be for another, vb or cpp for instance. Such an example could help a great deal.

Having said that, when I did a quick search, I suspect this is a late binding COM object from the little I see in your code. If this is the case I am sorry to say that you cannot use it with ACUCOBOL-GT beyond what you already have done.

But get us a small example in another language and we might be able to tell for sure.

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
When interfacing an unknown control, it is always good to have an example at hand. Chances are, there are no example for COBOL, but there might be for another, vb or cpp for instance. Such an example could help a great deal.

Having said that, when I did a quick search, I suspect this is a late binding COM object from the little I see in your code. If this is the case I am sorry to say that you cannot use it with ACUCOBOL-GT beyond what you already have done.

But get us a small example in another language and we might be able to tell for sure.

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
When interfacing an unknown control, it is always good to have an example at hand. Chances are, there are no example for COBOL, but there might be for another, vb or cpp for instance. Such an example could help a great deal.

Having said that, when I did a quick search, I suspect this is a late binding COM object from the little I see in your code. If this is the case I am sorry to say that you cannot use it with ACUCOBOL-GT beyond what you already have done.

But get us a small example in another language and we might be able to tell for sure.

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
in the attached, you find an extract from the docs I have.

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
The extract you have provided show that this is late binding (using CreateDispatch), there is unfortunately no support for this in ACUCOBOL-GT at present. Sorry.

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
If we develop small interface programs between our cobol program and the LT-Server, what would you recommend, VB or C ?

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
If we develop small interface programs between our cobol program and the LT-Server, what would you recommend, VB or C ?

[Migrated content. Thread originally posted on 14 September 2009]

I try to access the Labor Time Server of GM's TIS2000 system via the OLE interface.
I can access (create class, modify/inquire property) classes which holds properties, but the class holding all the methods I cannot create. The debug log says "No such interface is supported" (my translation of the danish text).

I'm new in the field of OLE, so it might be a trivial matter.

Pls. see the attached which holds a digest of program and .def files.

Hope for help.
Carsten
If we develop small interface programs between our cobol program and the LT-Server, what would you recommend, VB or C ?