Reputation: 347
I understand that WinCE does not support the above function. However as it has been used in the code I am trying to port to Win CE environment, I am trying to rewrite the function to work in Win CE.
http://www.codeproject.com/KB/mobile/GetPrivateProfileString.aspx The code at this link does not work as fstream is not supported. Please let me know how I can modify the above code/ rewrite the code for my purpose.
Upvotes: 1
Views: 1274
Reputation: 36101
If you are porting to CE, then just move the config data to the registry. In which case, GetPrivateProfileString would become RegQueryValueEx
Upvotes: 2