Global “file” in the dct with some data types declared.
These are classed as unresolved externals by the compiler, when compiling a data dll.
The Global file is declared first before all other global “files” and normal data files in the dct.
I can add the data types definition to the embeds manually before the global MAP and the compiler doesnt complain.
The reason for declaring a global “file” as the first “file” in the dct is because I can then use these data types elsewhere in the dct, but there isnt any way to then disable the generation in the shipping templates, or have an option in the IDE to generate this before the map section using the shipping templates.
Program
GlobalDataTypes declared here in a global embed doesnt throw a compiler error
Includes('ABC File includes')
Map
End
GlobalDataTypes generated from the dct here throws a compiler error.
Unresolved externals come from the linker not the compiler.
The fact that you are getting unresolved externals means that some of those globals are marked as external. Therefore I suggest your data dll is not setup correctly.