Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use get the image's URL from web page Pin
yu-jian6-Nov-10 6:24
yu-jian6-Nov-10 6:24 
AnswerRe: How to use get the image's URL from web page Pin
«_Superman_»6-Nov-10 6:48
professional«_Superman_»6-Nov-10 6:48 
GeneralRe: How to use get the image's URL from web page Pin
yu-jian7-Nov-10 14:55
yu-jian7-Nov-10 14:55 
GeneralRe: How to use get the image's URL from web page Pin
«_Superman_»7-Nov-10 15:26
professional«_Superman_»7-Nov-10 15:26 
GeneralRe: How to use get the image's URL from web page Pin
yu-jian7-Nov-10 16:44
yu-jian7-Nov-10 16:44 
QuestionCopying Variants Pin
softwaremonkey5-Nov-10 23:59
softwaremonkey5-Nov-10 23:59 
AnswerRe: Copying Variants Pin
softwaremonkey6-Nov-10 0:42
softwaremonkey6-Nov-10 0:42 
QuestionRegEnumValue not return the correct values Pin
Arnon A5-Nov-10 12:39
Arnon A5-Nov-10 12:39 
I'm trying to use the RegEnumValue function, but I can't get the correct values in the ValueName and data fields
Its seems that the enum itself is ok since its runs the correct number of loops and the sizes parameter are correct.
I get the same result again and again in the ValueName valuedata fields.
Thanks in advance for any help

here is the code I'm using

HKEY hKey = NULL;
LONG enumresult = 0;
WCHAR valuename[1024];
DWORD valuenamesize = 1024;
DWORD valuedatasize = 1024;
WCHAR valuedata[1024];
long index = 0;

const WCHAR* subkey = L"Software\\xxx";


if( RegOpenKey(HKEY_LOCAL_MACHINE, subkey ,&hKey) == ERROR_SUCCESS)
{
while( RegEnumValue(hKey, index++, valuename, valuenamesize, 0,
NULL, (LPBYTE)valuedata, valuedatasize) != ERROR_NO_MORE_ITEMS)
{
cou<
AnswerRe: RegEnumValue not return the correct values Pin
«_Superman_»5-Nov-10 14:41
professional«_Superman_»5-Nov-10 14:41 
AnswerRe: RegEnumValue not return the correct values Pin
krmed6-Nov-10 3:50
krmed6-Nov-10 3:50 
GeneralRe: RegEnumValue not return the correct values Pin
Arnon A7-Nov-10 21:25
Arnon A7-Nov-10 21:25 
QuestionRe: RegEnumValue not return the correct values Pin
David Crow6-Nov-10 17:58
David Crow6-Nov-10 17:58 
QuestionCompiler Error in Template Functions...? [modified] Pin
Joseph Dempsey5-Nov-10 7:41
Joseph Dempsey5-Nov-10 7:41 
AnswerRe: Compiler Error in Template Functions...? Pin
«_Superman_»5-Nov-10 7:52
professional«_Superman_»5-Nov-10 7:52 
GeneralRe: Compiler Error in Template Functions...? Pin
Joseph Dempsey5-Nov-10 8:01
Joseph Dempsey5-Nov-10 8:01 
GeneralRe: Compiler Error in Template Functions...? Pin
«_Superman_»5-Nov-10 8:02
professional«_Superman_»5-Nov-10 8:02 
GeneralRe: Compiler Error in Template Functions...? Pin
Joseph Dempsey5-Nov-10 8:17
Joseph Dempsey5-Nov-10 8:17 
GeneralRe: Compiler Error in Template Functions...? Pin
«_Superman_»5-Nov-10 8:56
professional«_Superman_»5-Nov-10 8:56 
GeneralRe: Compiler Error in Template Functions...? Pin
Aescleal5-Nov-10 9:12
Aescleal5-Nov-10 9:12 
AnswerRe: Compiler Error in Template Functions...? [modified] Pin
Aescleal5-Nov-10 9:08
Aescleal5-Nov-10 9:08 
AnswerRe: Compiler Error in Template Functions...? [modified] Pin
Paul Michalik6-Nov-10 1:42
Paul Michalik6-Nov-10 1:42 
QuestionUsing a Message-Only Window to Receive Device Change Notification Messages [modified] Pin
Jim Fell5-Nov-10 5:11
Jim Fell5-Nov-10 5:11 
AnswerRe: Using a Message-Only Window to Receive Device Change Notification Messages Pin
Luc Pattyn5-Nov-10 5:32
sitebuilderLuc Pattyn5-Nov-10 5:32 
GeneralRe: Using a Message-Only Window to Receive Device Change Notification Messages Pin
Jim Fell5-Nov-10 5:41
Jim Fell5-Nov-10 5:41 
GeneralRe: Using a Message-Only Window to Receive Device Change Notification Messages Pin
Luc Pattyn5-Nov-10 5:49
sitebuilderLuc Pattyn5-Nov-10 5:49 

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.