Solved

Read the win95 dir from the registry

Posted on 1998-06-11
2
182 Views
Last Modified: 2012-05-07
how can i read the win95 dir from the registry ?
0
Comment
Question by:sbartok
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fast access to array, using indexes, smart iterative search 2 132
PDF library for Delphi 2 149
computer science syllabus 3 116
Beginner to Unreal Engine 4 5 119
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 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.

734 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