An API Error occurs, if a language file is created via the API and a keyword gets added after the language file creation.
Summary
If a keyword was added to a language file via the API after the language file creation, the following API error occurred:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Description
If a keyword was added to a language file via the API after the language file creation, the following API error occurred:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Solution
Redesign of the API function. Now it is possible, to add a keyword into a previously created language file, which has been created via the API.
Information
To avoid this API error, the project has to be unloaded from the workspace with the API and then loaded back again to the workspace.
Issue Number: 36002
Fixed on Date: 4.10.2017
Versions: 7.20 0 BUILD 41989 | 7.60 0 BUILD 41721
Related Articles
Language file (zenon 11) - Import-CSV via API opens Language-file-import - wizard/popup
Description When importing a CSV file into the language file via API, the wizard for importing language files is activated. However, this wizard cannot be operated via the API. Solution: This behavior has been changed. When importing via API, the ...
Error: The license transfer cannot be confirmed
Errorcode 0x18080010 The following error message is displayed in the license web depot if the license transaction is intercepted by a second license transaction and therefore the license confirmation file cannot be processed. Error The license ...
Checklist: VBA code compilation error
Time estimate: 15 minutes Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative. Error still occurs after ...
API Error when running Instance Wizard (GSK)
Description If a Smart Object instance is created with the Instant Wizard (GFK) and removed again with this wizard, an API error occurs when another instance is created. The error message refers to: "Attempt to read or write protected memory." This ...
API - Create/Delete process gateway via API
Summary Process Gateways can be created or deleted via API. Description The Interface IProject has been supplemented with the IProcessGatewayCollection property. This property can be used to access preconfigured Process Gateways, delete existing ...