I'm having a real brain stall here!  I'm trying to write a simple routine to
read and write to an ini file.  I had a sample piece of code years ago but
it is so long since I used it I've lost it.  I have an app which only uses
two pieces of data, a source path and a target path.  I thought that it
would be convenient if the user could edit them with notepad so decided to
use an ini file.  I've found the definitions fro GetPrivateProfileString and
WritePrivateProfileString but I'm blowed if I can make them work!  Does the
ini file have to exist to write to it or will it create one; also the
section?  Anyone got some sample code out there that I could copy.

TIA

John Weller
01380 723235
07976 393631



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to