PDA

View Full Version : QueryOptionValue()?


vefatica
2008-08-08, 16:45
Does QueryOptionValue() work on proprietary (plugin) values (which may reside in their own [Section])?

If so, and I put a default value in pszValue. will that value be preserved if QOV() fails? And if QOV() fails, does it produce an error message?

I could probably use it to advantage over GetPrivateProfileString().

vefatica
2008-08-08, 16:49
Does QueryOptionValue() work on proprietary (plugin) values (which may reside in their own [Section])?

If so, and I put a default value in pszValue. will that value be preserved if QOV() fails? And if QOV() fails, does it produce an error message?

I could probably use it to advantage over GetPrivateProfileString().

Gee wiz! It took about 2.5 minutes to post that one on the web.

rconn
2008-08-09, 10:31
vefatica wrote:

> Does QueryOptionValue() work on proprietary (plugin) values (which may
> reside in their own [Section])?


It will not work with values in custom sections.

Rex Conn
JP Software