1
votes

Compiling Win 32 DLL that contains a a Tokyo 10.2.3 form, I get compiler errors on 3rd party components used in the form that reference units with "namespaces" like Forms vs VCL.Forms. Changing the references allows the component units to compile, but MANY components have to be changed.

Example: [dcc32 Fatal Error] OvcCmd.pas(44): F2613 Unit 'Forms' not found.

Compiling the Tokyo form as a separate project EXE does NOT generate the compiler errors.

For Delphi Gurus: Is there a compiler switch configuration for compiling and building a DLL that will tell Tokyo to use/ignore the older style unit declarations?

1
They are not "namespaces", they are "unit scope names". Two different things.Remy Lebeau

1 Answers

1
votes

Adding Unit aliases to the DLL Project Options resolved the compiler errors:

image