Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionerror C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Dhiraj kumar Saini19-Aug-08 21:21
Dhiraj kumar Saini19-Aug-08 21:21 
AnswerRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Hamid_RT19-Aug-08 21:22
Hamid_RT19-Aug-08 21:22 
GeneralRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Stephen Hewitt19-Aug-08 21:32
Stephen Hewitt19-Aug-08 21:32 
GeneralRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Dhiraj kumar Saini19-Aug-08 21:39
Dhiraj kumar Saini19-Aug-08 21:39 
GeneralRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Stephen Hewitt19-Aug-08 21:40
Stephen Hewitt19-Aug-08 21:40 
AnswerRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' [modified] Pin
_AnsHUMAN_ 19-Aug-08 21:28
_AnsHUMAN_ 19-Aug-08 21:28 
QuestionRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
CPallini19-Aug-08 21:42
mveCPallini19-Aug-08 21:42 
AnswerRe: error C2039: 'QueryStringValue' : is not a member of 'CRegKey' Pin
Stephen Hewitt19-Aug-08 21:42
Stephen Hewitt19-Aug-08 21:42 
There is no such method (at least there isn't in MSVC6, which you seem to be using). Here's the definition (which you could have easily found yourself):
class CRegKey
{
public:
	CRegKey();
	~CRegKey();

// Attributes
public:
	operator HKEY() const;
	HKEY m_hKey;

// Operations
public:
	LONG SetValue(DWORD dwValue, LPCTSTR lpszValueName);
	LONG QueryValue(DWORD& dwValue, LPCTSTR lpszValueName);
	LONG QueryValue(LPTSTR szValue, LPCTSTR lpszValueName, DWORD* pdwCount);
	LONG SetValue(LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL);

	LONG SetKeyValue(LPCTSTR lpszKeyName, LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL);
	static LONG WINAPI SetValue(HKEY hKeyParent, LPCTSTR lpszKeyName,
		LPCTSTR lpszValue, LPCTSTR lpszValueName = NULL);

	LONG Create(HKEY hKeyParent, LPCTSTR lpszKeyName,
		LPTSTR lpszClass = REG_NONE, DWORD dwOptions = REG_OPTION_NON_VOLATILE,
		REGSAM samDesired = KEY_ALL_ACCESS,
		LPSECURITY_ATTRIBUTES lpSecAttr = NULL,
		LPDWORD lpdwDisposition = NULL);
	LONG Open(HKEY hKeyParent, LPCTSTR lpszKeyName,
		REGSAM samDesired = KEY_ALL_ACCESS);
	LONG Close();
	HKEY Detach();
	void Attach(HKEY hKey);
	LONG DeleteSubKey(LPCTSTR lpszSubKey);
	LONG RecurseDeleteKey(LPCTSTR lpszKey);
	LONG DeleteValue(LPCTSTR lpszValue);
};


Steve

QuestionHow to post a message from MainFrm to the dialog , psl adv Pin
ptr_Electron19-Aug-08 21:19
ptr_Electron19-Aug-08 21:19 
AnswerRe: How to post a message from MainFrm to the dialog , psl adv Pin
Cedric Moonen19-Aug-08 21:22
Cedric Moonen19-Aug-08 21:22 
GeneralRe: How to post a message from MainFrm to the dialog , psl adv Pin
ptr_Electron19-Aug-08 21:28
ptr_Electron19-Aug-08 21:28 
QuestionHow to share data between 2 dlls Pin
Vijjuuu.19-Aug-08 21:01
Vijjuuu.19-Aug-08 21:01 
AnswerRe: How to share data between 2 dlls Pin
Hamid_RT19-Aug-08 21:17
Hamid_RT19-Aug-08 21:17 
AnswerRe: How to share data between 2 dlls Pin
Stephen Hewitt19-Aug-08 21:35
Stephen Hewitt19-Aug-08 21:35 
AnswerRe: How to share data between 2 dlls Pin
Naveen19-Aug-08 21:37
Naveen19-Aug-08 21:37 
GeneralRe: How to share data between 2 dlls Pin
Vijjuuu.19-Aug-08 22:23
Vijjuuu.19-Aug-08 22:23 
QuestionHow to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 20:36
ptr_Electron19-Aug-08 20:36 
AnswerRe: How to pass a paremeters to Dialog Pin
Cedric Moonen19-Aug-08 20:46
Cedric Moonen19-Aug-08 20:46 
GeneralRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:06
ptr_Electron19-Aug-08 21:06 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 21:19
mveCPallini19-Aug-08 21:19 
AnswerRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:30
ptr_Electron19-Aug-08 21:30 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 21:33
mveCPallini19-Aug-08 21:33 
AnswerRe: How to pass a paremeters to Dialog Pin
ptr_Electron19-Aug-08 21:49
ptr_Electron19-Aug-08 21:49 
QuestionRe: How to pass a paremeters to Dialog Pin
CPallini19-Aug-08 21:50
mveCPallini19-Aug-08 21:50 
GeneralRe: How to pass a paremeters to Dialog Pin
Cedric Moonen19-Aug-08 21:51
Cedric Moonen19-Aug-08 21:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.