Solved

Return Values from RegOpenKeyEx

Posted on 1998-06-18
3
536 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now