OLE Base Class Generation
-
- Posts: 71
- Joined: Thu Jul 15, 2021 10:46 am
- Location: Germany
OLE Base Class Generation
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...
OLE Base Class Generation
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
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
robert@xsharp.eu
The Netherlands
robert@xsharp.eu