Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

OLE Base Class Generation 01 Mar 2023 22:55 #25474

  • stefan.ungemach
  • stefan.ungemach's Avatar
  • Topic Author


  • Posts: 14
  • What would be the best approach to do something like VO "Automation Server Base Class Generation" in X#? We have tons of generated OLE code and the XPorter shows XS9010 (maybe more) - I'm not quiet sure if manually correcting the generated VO code would be the wise thing...

    Please Log in or Create an account to join the conversation.

    OLE Base Class Generation 02 Mar 2023 08:01 #25478

    • robert
    • robert's Avatar


  • Posts: 3599
  • Stefan,
    In most situations you do not need to generate anything, but you can directly add the automation server or ActiveX as reference to your project. The build system will then generate an interop dll for you.
    There is an example in the X# help file and online that shows how to do it for Excel and another example that shows how to do the Shell.Explorer activeX control.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1