Click here to Skip to main content
15,919,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting hexadecimal to decimal in C++ Pin
Toni785-Aug-03 22:47
Toni785-Aug-03 22:47 
Generala clipboard question Pin
Chao Zuo5-Aug-03 21:44
Chao Zuo5-Aug-03 21:44 
GeneralCBitmapButton Pin
Marissa1825-Aug-03 21:24
Marissa1825-Aug-03 21:24 
GeneralRe: CBitmapButton Pin
Toni785-Aug-03 21:41
Toni785-Aug-03 21:41 
GeneralRe: CBitmapButton Pin
Marissa1825-Aug-03 21:43
Marissa1825-Aug-03 21:43 
GeneralRe: CBitmapButton Pin
Toni785-Aug-03 22:05
Toni785-Aug-03 22:05 
QuestionWhat is wrong in this piece of code... Pin
Exceter5-Aug-03 21:20
Exceter5-Aug-03 21:20 
AnswerRe: What is wrong in this piece of code... Pin
Toni785-Aug-03 21:51
Toni785-Aug-03 21:51 
Exceter wrote:
reg.QueryDWORDValue("NumOfComputers", num);
Exceter wrote:
reg.QueryStringValue(val, (Cname.GetBuffer(len)), &Cname_sz);

These functions don't exist (I am talking about VC++ 6.0, I don't know about .NET). You need to use QueryValue. I didn't check the rest of the code. You need to compile it and read the errors that the compiler will give you. I am sure that the compiler will complain very loudly by saying that QueryDWORDValue does not exist, and the same thing can be said about the rest of the code.

// Afterall, I realized that even my comment lines have bugs

When one cannot invent, one must at least improve (in bed).-My latest fortune cookie
GeneralRe: What is wrong in this piece of code... Pin
Exceter5-Aug-03 22:23
Exceter5-Aug-03 22:23 
GeneralRe: What is wrong in this piece of code... Pin
Toni785-Aug-03 22:44
Toni785-Aug-03 22:44 
GeneralRe: What is wrong in this piece of code... Pin
Exceter5-Aug-03 23:15
Exceter5-Aug-03 23:15 
GeneralRe: What is wrong in this piece of code... Pin
Steve S5-Aug-03 23:25
Steve S5-Aug-03 23:25 
GeneralRe: What is wrong in this piece of code... Pin
Exceter5-Aug-03 23:43
Exceter5-Aug-03 23:43 
QuestionWhat is wrong in this piece of code... Pin
Exceter5-Aug-03 21:20
Exceter5-Aug-03 21:20 
AnswerRe: What is wrong in this piece of code... Pin
Alexander M.,6-Aug-03 0:01
Alexander M.,6-Aug-03 0:01 
Questionwhat is the message generated? Pin
BK Pradeep5-Aug-03 21:17
BK Pradeep5-Aug-03 21:17 
AnswerRe: what is the message generated? Pin
Fredrik Skog6-Aug-03 0:50
Fredrik Skog6-Aug-03 0:50 
GeneralTransparent gradient shading Pin
lob5-Aug-03 21:08
lob5-Aug-03 21:08 
GeneralRe: Transparent gradient shading Pin
PJ Arends5-Aug-03 22:56
professionalPJ Arends5-Aug-03 22:56 
GeneralRe: Transparent gradient shading Pin
lob5-Aug-03 23:04
lob5-Aug-03 23:04 
QuestionQuestion about new? Pin
pani685-Aug-03 19:49
pani685-Aug-03 19:49 
AnswerRe: Question about new? Pin
Anonymous5-Aug-03 21:16
Anonymous5-Aug-03 21:16 
AnswerRe: Question about new? Pin
Toni785-Aug-03 21:20
Toni785-Aug-03 21:20 
QuestionMake LIB file from a DLL or DEF file? Pin
JMPACS5-Aug-03 19:48
sussJMPACS5-Aug-03 19:48 
AnswerRe: Make LIB file from a DLL or DEF file? Pin
Garth J Lancaster5-Aug-03 20:50
professionalGarth J Lancaster5-Aug-03 20:50 

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.