LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Ini_GetString will not return long strings, and strips escape codes

The Ini_PutRawString works correctly, and will break up long strings as described in the Reading/Writing
.ini-Style Files Control help.

Upon string retrieval, with Ini_GetRawString, some strings are stripped of escape codes(\r\n), others are truncated, and still others are not read at all. (The return value is NULL).

Any suggestions where the trouble may be?
0 Kudos
Message 1 of 2
(3,004 Views)
I haven't seen this problem personally. The source code for the inifile.fp is provided for you. If you add the source code (inifile.c) to the project you can step through the inifile.c code and see where the problem is. Many users have modified this code to suit their own needs.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(3,004 Views)