Duplicate type declarations in CodeFirst server

Hi,

I recently converted a large custom Delphi server to code-first, and when i create the library interface unit (via the Connec to Remoting SDK server… menu option) it creates duplicate declarations of StringArray and UserInfo that are also in DataAbstract4_Intf.

This is now causing a few “Types of actual and formal var parameters must be identical”

Which declaration should I stick with? Is DataAbstract4_Intf no longer necessary in code-first servers?

Thanks

I think I may have it sussed.

Use DataAbstract4_Intf on the server, and my own access units on the client ??

yep, it will work because DataAbstract4_Intf is Code-First compatible.

Great, thanks for the confirmation.