Vitus
Resource contributor
- Messages
- 1,480
- Country

Hi there,
besides my struggle with the fs9gps data, I want to load and later save some data to ini files.
KISS, therefore I tried this:
the TEST.DAT textfile contains:
but my_number remains "0". What am I missing?
Regards,
Vitus
besides my struggle with the fs9gps data, I want to load and later save some data to ini files.
KISS, therefore I tried this:
Code:
int my_number=GetPrivateProfileInt("GENERAL","number",0,"C:\TEST.DAT");
the TEST.DAT textfile contains:
Code:
[GENERAL]
number=42
but my_number remains "0". What am I missing?
Regards,
Vitus
