CodeGen options

What are the command line options for rodl2code.exe for generating an implementation .pas file with the options shown in the graphic below?

It looks from the help displayed by the command line that I can set the code first option but how can I set the others?


these options aren’t supported by rodl2code.

if you want, you can create Delphi utility based on attached Delphi example (21.6 KB)

Logged as bugs://D19181.

1 Like

I am unable to compile the rocg4_helper project because I have not been able to locate a dcu or pas file named ToolsAPI. Any ideas where it might be?


add C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi\Source\IDE to Search Path and rebuild project.

In this case, uROCodegen4Helper unit will be compiled w/o design-time units

1 Like

bugs://D19181 was closed as fixed.

FYI: I get another error but it can also be resolved by expanding the search path

Note: My v10.0.0.1521 still has to add the searchpath for ToolsAPI too



this unit is required in DESIGNTIME mode, i.e. when this file is used in RO_IDE package only