Click here to Skip to main content
15,916,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i do this with C++ Pin
Rajesh R Subramanian1-May-08 18:49
professionalRajesh R Subramanian1-May-08 18:49 
GeneralRe: how can i do this with C++ Pin
JudyL_MD2-May-08 2:12
JudyL_MD2-May-08 2:12 
GeneralRe: how can i do this with C++ Pin
Rajesh R Subramanian1-May-08 19:19
professionalRajesh R Subramanian1-May-08 19:19 
QuestionRe: how can i do this with C++ Pin
Rajkumar R1-May-08 19:28
Rajkumar R1-May-08 19:28 
GeneralRe: how can i do this with C++ Pin
Rajesh R Subramanian1-May-08 19:29
professionalRajesh R Subramanian1-May-08 19:29 
GeneralRe: how can i do this with C++ [modified] Pin
Rajkumar R1-May-08 19:24
Rajkumar R1-May-08 19:24 
GeneralRe: how can i do this with C++ Pin
Randor 2-May-08 5:36
professional Randor 2-May-08 5:36 
GeneralRe: how can i do this with C++ Pin
Daniel Grunwald19-May-08 0:41
Daniel Grunwald19-May-08 0:41 
GeneralRe: how can i do this with C++ Pin
reteset2-May-08 5:14
reteset2-May-08 5:14 
QuestionHow to find tab order dynamically. Pin
Abhijit A1-May-08 0:29
Abhijit A1-May-08 0:29 
AnswerRe: How to find tab order dynamically. Pin
Rajkumar R1-May-08 1:27
Rajkumar R1-May-08 1:27 
AnswerRe: How to find tab order dynamically. Pin
Blake Miller1-May-08 12:01
Blake Miller1-May-08 12:01 
QuestionHow can I know if a 3rd party unmanaged (e.g. cpp )dll is in debug or release ? Pin
Berlus30-Apr-08 23:38
Berlus30-Apr-08 23:38 
AnswerRe: How can I know if a 3rd party unmanaged (e.g. cpp )dll is in debug or release ? Pin
Chris Meech1-May-08 4:24
Chris Meech1-May-08 4:24 
Questionneed little help Pin
Asmo'a30-Apr-08 20:13
Asmo'a30-Apr-08 20:13 
AnswerRe: need little help Pin
Christian Graus30-Apr-08 20:19
protectorChristian Graus30-Apr-08 20:19 
QuestionIEToolbar related question? Pin
ritz123430-Apr-08 19:08
ritz123430-Apr-08 19:08 
QuestionRegQueryValueExNULL,RegSetValueExString,egQueryValueExString Pin
lahom30-Apr-08 18:59
lahom30-Apr-08 18:59 
AnswerRe: RegQueryValueExNULL,RegSetValueExString,egQueryValueExString Pin
Rajkumar R30-Apr-08 20:57
Rajkumar R30-Apr-08 20:57 
lahom wrote:
//***************************************************************//
knowing that those functions are declared int header file like that:

// Registry API To Query A String Value.
int RegQueryValueExString /* RegQueryValueExA */ (HKEY hKey, CString lpValueName, int lpReserved, int& lpType, CString lpData, int& lpcbData); // "advapi32.dll"



is this some thing tried to port from VB. It seems attempt to port alias in VB declaration. The definitions of the functions are not available.

you replace RegQueryValueExString with RegQueryValueExA (similarly other 2) in cpp where you are calling it.

or comment out those declarations in header and define the Macros like,
#define RegQueryValueExString RegQueryValueExA
#define RegQueryValueExNULL RegQueryValueExA
#define RegSetValueExString RegSetValueExA
QuestionRe: RegQueryValueExNULL,RegSetValueExString,egQueryValueExString Pin
David Crow1-May-08 3:00
David Crow1-May-08 3:00 
AnswerRe: RegQueryValueExNULL,RegSetValueExString,egQueryValueExString Pin
Rajkumar R1-May-08 3:42
Rajkumar R1-May-08 3:42 
AnswerRe: RegQueryValueExNULL,RegSetValueExString,egQueryValueExString Pin
Rajkumar R1-May-08 7:12
Rajkumar R1-May-08 7:12 
QuestionAnother question on "Good Practices" involving code file size... Pin
x87Bliss30-Apr-08 15:39
x87Bliss30-Apr-08 15:39 
AnswerRe: Another question on "Good Practices" involving code file size... Pin
Steve Echols30-Apr-08 18:49
Steve Echols30-Apr-08 18:49 
AnswerRe: Another question on "Good Practices" involving code file size... Pin
Nelek1-May-08 22:12
protectorNelek1-May-08 22:12 

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.