Skip to main content

errors compiling after adding office12\\msword.olb to project

  • January 12, 2012
  • 6 replies
  • 0 views

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?

6 replies

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?
Yes, this isue is an error with AxDefGen. Please contact customer care so they can add your contact information to this issue. That way you will be contacted when it is resolved.

  • Author
  • Rocketeer
  • 19312 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?
Thank you so much for your assistance.

  • Author
  • Rocketeer
  • 19312 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?
Thank you so much for your assistance.

  • Author
  • Rocketeer
  • 19312 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?
Thank you so much for your assistance.

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?
This is fixed by ECN 4143 which will be in 9.1.1 - if you need it before 9.1.1 (end of February release) please contact Customer Care for a patch.

  • Author
  • Rocketeer
  • 19312 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am programming in Acubench and added the office12\\msword.olb from the ActiveX Definitions Generator. When I placed this Definitions file into my .cbl program and compiled, I received compile errors within the Def file.

For example:

line 8715: RETURNING expected, PROPERTY-GET found

I opened the file and this is the line of code the error refered to:

*[Class: @_Document] Dummy1
PROPERTY-GET, 503, @Dummy1
*[Class: @_Document] OMaths
PROPERTY-GET, 504, @OMaths
RETURNING "OMaths*", TYPE 9

Has anyone had this problem before?
Great! Thanks for the update.