Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetProfileString with Windows 2000

Status
Not open for further replies.

ChrisProg

Programmer
Apr 4, 2001
41
GB
I have a product which has been running at customer sites using Win95/98/NT/XP without problems. One customer has updated their server and PCs to run Windows 2000 and now the program fails.

I have traced the problem to the reading of a keyed field from the Win.INI file, where the access via GETPROFILESTRING does not appear to work.

I have read that in Win2000, key fields previously stored in an INI file should now be contained in the registry, but for 16 bit compatability, Win2000 will still access the INI file if there is no entry in the registry.

So why does my program now fail? Any ideas? Are there any set up options in Win2000 that I should consider to get over this problem?

Thanks for any help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top