Click here to Skip to main content
15,886,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: can someone explain to a newby what the top line argument call. Pin
johnathan warfield18-Apr-09 8:19
johnathan warfield18-Apr-09 8:19 
QuestionWhat does the : x( value ) mean in this constructor ??? Pin
johnathan warfield11-Apr-09 18:25
johnathan warfield11-Apr-09 18:25 
AnswerRe: What does the : x( value ) mean in this constructor ??? Pin
«_Superman_»11-Apr-09 20:50
professional«_Superman_»11-Apr-09 20:50 
GeneralRe: What does the : x( value ) mean in this constructor ??? Pin
johnathan warfield12-Apr-09 7:07
johnathan warfield12-Apr-09 7:07 
GeneralRe: What does the : x( value ) mean in this constructor ??? Pin
«_Superman_»12-Apr-09 18:37
professional«_Superman_»12-Apr-09 18:37 
QuestionHard Disk(Recovery) Pin
kikivml11-Apr-09 9:10
kikivml11-Apr-09 9:10 
AnswerRe: Hard Disk(Recovery) Pin
Hamid_RT11-Apr-09 19:48
Hamid_RT11-Apr-09 19:48 
QuestionRegistry REG_BINARY Problem Pin
locoone11-Apr-09 8:35
locoone11-Apr-09 8:35 
im trying to get RecentDocs registry info and put it in a listctrl the name part works fine but the data part i only get the first letter
#define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 16383
	TCHAR achValue[MAX_VALUE_NAME]; 
	DWORD cchValue = MAX_VALUE_NAME; 
	HKEY hKey;
	dwData = MAX_VALUE_NAME;
	cchValue = MAX_VALUE_NAME; 
	achValue[0] = '\0'; 
	retCode = RegEnumValue(hKey, i, 
		achValue, 
		&cchValue, 
		NULL, 
		&dwType,
		(BYTE*)lpData,
		(LPDWORD)&dwData);

	if (retCode == ERROR_SUCCESS ) 
	{ 
		m_list.InsertItem(index, achValue);
		m_list.SetItemText(index, 1, lpData);
		index++;
	}

im using vs 2008 and mfc can anyone tell me where im going wrong? Confused | :confused:
AnswerRe: Registry REG_BINARY Problem Pin
Baltoro11-Apr-09 11:21
Baltoro11-Apr-09 11:21 
GeneralRe: Registry REG_BINARY Problem Pin
locoone11-Apr-09 20:09
locoone11-Apr-09 20:09 
QuestionRe: Registry REG_BINARY Problem Pin
CPallini11-Apr-09 22:46
mveCPallini11-Apr-09 22:46 
AnswerRe: Registry REG_BINARY Problem Pin
locoone12-Apr-09 2:53
locoone12-Apr-09 2:53 
GeneralRe: Registry REG_BINARY Problem Pin
CPallini12-Apr-09 9:58
mveCPallini12-Apr-09 9:58 
GeneralRe: Registry REG_BINARY Problem Pin
locoone12-Apr-09 10:46
locoone12-Apr-09 10:46 
GeneralRe: Registry REG_BINARY Problem Pin
CPallini12-Apr-09 11:17
mveCPallini12-Apr-09 11:17 
GeneralRe: Registry REG_BINARY Problem [modified] Pin
locoone12-Apr-09 11:50
locoone12-Apr-09 11:50 
GeneralRe: Registry REG_BINARY Problem Pin
CPallini13-Apr-09 4:46
mveCPallini13-Apr-09 4:46 
GeneralRe: Registry REG_BINARY Problem Pin
locoone13-Apr-09 12:40
locoone13-Apr-09 12:40 
QuestionRemoving the MS-DOS stub from a PE File Pin
iNoble11-Apr-09 8:05
iNoble11-Apr-09 8:05 
AnswerRe: Removing the MS-DOS stub from a PE File Pin
Baltoro11-Apr-09 9:08
Baltoro11-Apr-09 9:08 
GeneralRe: Removing the MS-DOS stub from a PE File [modified] Pin
iNoble11-Apr-09 9:40
iNoble11-Apr-09 9:40 
GeneralRe: Removing the MS-DOS stub from a PE File Pin
Baltoro11-Apr-09 10:21
Baltoro11-Apr-09 10:21 
GeneralRe: Removing the MS-DOS stub from a PE File Pin
iNoble11-Apr-09 13:16
iNoble11-Apr-09 13:16 
AnswerRe: Removing the MS-DOS stub from a PE File Pin
Stephen Hewitt12-Apr-09 6:08
Stephen Hewitt12-Apr-09 6:08 
GeneralRe: Removing the MS-DOS stub from a PE File Pin
iNoble12-Apr-09 11:36
iNoble12-Apr-09 11:36 

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.