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

C / C++ / MFC

 
QuestionCRegKey::QueryValue (...) fails [modified] Pin
Nelek5-Oct-07 2:47
protectorNelek5-Oct-07 2:47 
AnswerRe: CRegKey::QueryValue (...) fails Pin
David Crow5-Oct-07 3:34
David Crow5-Oct-07 3:34 
GeneralRe: CRegKey::QueryValue (...) fails Pin
Nelek8-Oct-07 3:45
protectorNelek8-Oct-07 3:45 
AnswerRe: CRegKey::QueryValue (...) fails Pin
Rahul Vaishnav5-Oct-07 4:18
Rahul Vaishnav5-Oct-07 4:18 
GeneralRe: CRegKey::QueryValue (...) fails Pin
David Crow5-Oct-07 5:42
David Crow5-Oct-07 5:42 
GeneralRe: CRegKey::QueryValue (...) fails Pin
Nelek8-Oct-07 3:47
protectorNelek8-Oct-07 3:47 
AnswerRe: CRegKey::QueryValue (...) fails Pin
Roger Stoltz5-Oct-07 4:38
Roger Stoltz5-Oct-07 4:38 
GeneralRe: CRegKey::QueryValue (...) fails Pin
Nelek8-Oct-07 3:59
protectorNelek8-Oct-07 3:59 
Yes, I am able to open and delete keys / subkeys.

I had made a "bypass" to allow not using the QueryValue (testing only the TCP/IP connection with the 1st member), but now I am forced to use it because I have to differenciate between 4 multiple choices. The value are written in a REG_DWORD to know about the option (MPI_S7 = 0x00, TCP/IP_S7 = 0x03, MPI_S5 = 0x06, TCP/IP_S5 = 0x0B). And depending on what is choosen, go through one function or another.


It seems you are right I was not understanding the functions. VS Help is not very understable for me (35% of contents are on English and the rest on german, and I am spanish D'Oh! | :doh: , even the MSDN on spanish was made with a translator-bot and even sometimes is difficult for me to understand it Mad | :mad: )

With the example you have provided me (very good explanation thanks) and both links I think I will be able to solve my problem Big Grin | :-D



Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

GeneralRe: CRegKey::QueryValue (...) fails Pin
Roger Stoltz15-Oct-07 1:37
Roger Stoltz15-Oct-07 1:37 
QuestionI wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy2025-Oct-07 2:42
Andy2025-Oct-07 2:42 
QuestionRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
rosdiana28-May-08 23:18
rosdiana28-May-08 23:18 
AnswerRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy2025-Jun-08 1:27
Andy2025-Jun-08 1:27 
GeneralRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
rosdiana9-Jun-08 22:21
rosdiana9-Jun-08 22:21 
GeneralRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy20212-Jun-08 2:20
Andy20212-Jun-08 2:20 
QuestionRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
rosdiana3-Jul-08 22:27
rosdiana3-Jul-08 22:27 
AnswerRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy2027-Jul-08 6:21
Andy2027-Jul-08 6:21 
GeneralRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
rosdiana28-Jul-08 19:42
rosdiana28-Jul-08 19:42 
GeneralRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy20229-Jul-08 0:51
Andy20229-Jul-08 0:51 
Questionhow to create and add ".rc" file in your project? Pin
AnayKulkarni5-Oct-07 2:23
AnayKulkarni5-Oct-07 2:23 
AnswerRe: how to create and add ".rc" file in your project? Pin
Nelek5-Oct-07 2:37
protectorNelek5-Oct-07 2:37 
Questioni/o stream problem Pin
david bagaturia5-Oct-07 0:56
david bagaturia5-Oct-07 0:56 
QuestionRe: i/o stream problem Pin
David Crow5-Oct-07 3:36
David Crow5-Oct-07 3:36 
QuestionPressing several buttons at once Pin
vSteve5-Oct-07 0:04
vSteve5-Oct-07 0:04 
AnswerRe: Pressing several buttons at once Pin
Nishad S5-Oct-07 1:02
Nishad S5-Oct-07 1:02 
GeneralRe: Pressing several buttons at once Pin
vSteve5-Oct-07 1:12
vSteve5-Oct-07 1: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.