Graham Dicker
unread,Nov 22, 2012, 10:54:38 AM11/22/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
According to the documentation, WritePrivateProfileString will remove a key
from an INI file if the third parameter (called lpString, normally used to
set the value of the key) is NULL.
I can't see how to get the KernelLibrary method
writePrivateProfileString: lpszSection lpszEntry: lpszEntry lpszString:
lpszString lpszFileName: lpszFileName
to accept a NULL for that parameter.
I also tried creating my own method in KernelLibrary and making that third
parameter be a dword instead of lpstr but it didn't work.
Can anyone point me in the right direction with this?
Thanks
Graham Dicker