Page 1 of 1
OLE Base Class Generation
Posted: Wed Mar 01, 2023 9:55 pm
by stefan.ungemach
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
Posted: Thu Mar 02, 2023 7:01 am
by robert
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