>>
>>Although it will work, but if i try to write a value for this key, always failed.The GetPrivateProfileString API always return this key's name!
>>
>>How can i do?
>
>In addition to Ed's reply, you can use my IniFiles class from the download section.
I've been playing around with the IniFiles class this afternoon and found that the methods used to write keys don't work under Win2k (Win98 ok). The read methods work fine.
Any ideas? I haven't played with REGISTRY.VCX yet but that's next on the list.
-Henry-