Solved

Read the win95 dir from the registry

Posted on 1998-06-11
2
176 Views
Last Modified: 2012-05-07
how can i read the win95 dir from the registry ?
0
Comment
Question by:sbartok
2 Comments
 
LVL 6

Accepted Solution

by:
alamo earned 50 total points
ID: 1165683
I am not certain what you mean... if you mean "how can I find out what directory win95 is installed in?", then you don't need the registry to do it:

UINT GetWindowsDirectory(

    LPTSTR lpBuffer,      // address of buffer for Windows directory
    UINT uSize       // size of directory buffer
   );      

Returns the length of the string placed into the buffer.

You can get the System dirctory with GetSystemDirectory (same arguments).

Hope this is what you needed, good luck!
0
 
LVL 1

Author Comment

by:sbartok
ID: 1165684
Cooool, you probably found out, i'm a beginner... :-)

THANX
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

757 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

22 Experts available now in Live!

Get 1:1 Help Now