Altova MapForce 2024 Enterprise Edition

GenerateCodeInEx

Home Prev Top Next

Generates code for the project item and its children in the specified language. The output location is determined by CodeGenSettings_UseDefault and CodeGenSettings_OutputFolder. Children of this project item can have their own property settings related to code-generation.

 

An object that can be used to iterate through all messages issued by the code generation process is returned. These messages are the same as those shown in the Messages window of MapForce.

 

Signature

GenerateCodeInEx(in i_nLanguage:ENUMProgrammingLanguage) -> ErrorMarkers

 

Parameters

Name

Type

Description

i_nLanguage

ENUMProgrammingLanguage

Specifies the programming language for code generation.

 

Errors

Error code

Description

1700

The object is no longer valid.

1701

Invalid language specified or invalid address for the return parameter was specified.

1706

Error during code generation.

© 2017-2023 Altova GmbH