Solved

Return Values from RegOpenKeyEx

Posted on 1998-06-18
3
544 Views
Last Modified: 2008-02-01
I don't have much documentation so here's a question.  RegOpenKeyEx is returning an error code of 2.  What is it trying to tell me??
0
Comment
Question by:boyntont
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 70 total points
ID: 1166158
from winerror.h
//
// MessageId: ERROR_FILE_NOT_FOUND
//
// MessageText:
//
//  The system cannot find the file specified.
//
#define ERROR_FILE_NOT_FOUND             2L

0
 

Author Comment

by:boyntont
ID: 1166159
Adjusted points to 75
0
 

Author Comment

by:boyntont
ID: 1166160
That's what I figured.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question