Changes made to INI file are removed when application.exe closed
search cancel

Changes made to INI file are removed when application.exe closed

book

Article ID: 265724

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

IN Plex: we used 2 "source codes " to write directly in the INI file and system.

"Set character INI entry "

and

"Set INI system value"

That working correctly because I can see on the INI file the good value and I used the "Source Code "Get INI system value" to check the value on the system. (another problem: this option is not directly active)

But my main problem is when I close the Application.exe the option in my INI file is reset.

how I do to stop it.

The option I want to change is this one. "Grid Memory Buffer=-1"

reason: currently all users are with this option: "Grid Memory Buffer=20"

we want to change it in "Grid Memory Buffer=-1" but we want to test 1 server before propagating to all users and servers. and we don't know which users should be on which server before starting application.exe

Environment

Release : Plex 7.2 +

Resolution

We recommend using the 'OBWIN/Set INI System Value' source code object API to update the application INI file.

E.g, To set the API parameter values as following to update the key Grid Memory Buffer to -1.
    Set Local<My INI Section> = Window options  
    Set Local<My INI Key> = Grid Memory Buffer  
    Set Local<My INI Value> = -1
    Set Local<My INI Index> = 49

To determine the index value for an .INI file option, see the file OBOPT.H in CA Plex’s INCLUDE directory. Options beginning with BOPT are boolean options and options beginning with SOPT are character (string) values.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=yyfB6ZrU3newyFvstaGsXQ==