From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

coments in INI files

I wrote a programm that read & writes to INI files,
but the problem is that after writing to file all the coments are erased. I've succeeded to keep some of the coments by setting tokens but not all of them
0 Kudos
Message 1 of 2
(2,656 Views)
Hello,
The way inifile driver is written removes comments after writing to the file. All the source code is available in the same directory. You can modify the source code so that it can preserve the comments.

Mika Fukuchi
Applications Engineer
National Instruments
Message 2 of 2
(2,656 Views)