PDA

View Full Version : Add pre- or postfix to classes importet from ActiveX control



Allan Greis Eriksen
8-May-2015, 04:07 AM
We have some ActiveX components (Chilkat and CodeJock) that reuses classes in their components. But this gives compiler errors when you try to use two different components that happen to use the same AutomationObject of the same class. So I have to go through each component to either delete or rename the duplicate classes.
Could we please have an option to prefix or postfix all generated classnames i the importer? This would of course give two different classes for the same "component" but they are still in another scope. And we do not have namespaces in DF ;)
I'm sure this has been requested before but it is still a pain to upgrade components this way. And we do have quite a few to change.

Dennis Piccioni
12-May-2015, 04:17 PM
Hi Allan,

I logged your suggestion.

You can do this in the importer already, just not in bulk. When selecting a file to import from, you can edit the class name in the grid below.