473,734 Members | 2,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing the registry

I am making a program in C++ and was wondering how to make a program
access and change the registry. Any help would be greatly appreciated.
Thanks.

Jul 23 '05 #1
6 2733
<Al******@evere stkc.net> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I am making a program in C++ and was wondering how to make a program
access and change the registry. Any help would be greatly appreciated.


What is "the registry"? Is it the registry of births, deaths and marriages?

This newsgroup concerns itself with standard C++, which I don't believe
includes accessing any kind of registry.

DW
Jul 23 '05 #2
Al******@everes tkc.net wrote in news:1111446249 .213052.168320
@f14g2000cwb.go oglegroups.com:
I am making a program in C++ and was wondering how to make a program
access and change the registry. Any help would be greatly appreciated.


You're way off topic for comp.lang.c++. The topc here is Standard C++.
There is no concept of a "registry" in Standard C++. You'll need to ask in
a vendor- or platform-specific newsgroup.
Jul 23 '05 #3
Argh! I'm talking about the Windows registry. I know of a lot of
programs that change the windows registry. Would you please just tell
me how to do change it with c++ under windows?

Jul 23 '05 #4
Alex8022 wrote:
Argh! I'm talking about the Windows registry. I know of a lot of
programs that change the windows registry. Would you please just tell
me how to do change it with c++ under windows?


Ask in a newsgroup that has "windows" or "microsoft" in its name.
You've been told that it's OT here.
Jul 23 '05 #5
"Alex8022" <Al******@evere stkc.net> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
Argh! I'm talking about the Windows registry. I know of a lot of
programs that change the windows registry. Would you please just tell
me how to do change it with c++ under windows?


This is completely the wrong place for that. There are uncountable Windows
newsgroups, and this isn't one of them. This might point you in the right
direction: http://www.slack.net/~shiva/welcome.txt

DW
Jul 23 '05 #6

"Alex8022" <Al******@evere stkc.net> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
Argh! I'm talking about the Windows registry. I know of a lot of
programs that change the windows registry. Would you please just tell
me how to do change it with c++ under windows?


And i know a lot of operating systems that don't use or have a registry.
Incidentally, C++ works as expected in most if not all of them. Why? Because
the folks who support and develop the standard chose not to support
proprietary systems. Bless them.

To you that may seem to be a limitation, to us its why C++ is stronger than
ever. To understand why: try Win32, MFC or WTL to write your registry
program and consider the fact that the said program only runs on some
windows platforms. This situation is exactly what C++ attempts to prevent
through its standard.

Lets face it, why should C++ reinvent the wheel every time some company
decides to implement some non-documented, closed source and proprietary
interface?

Ask your question in a relevent newsgroup. Search for "microsoft" and you'll
get 50 groups or so.

Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8149
by: Daniel Pope | last post by:
Hello Everybody, I'm preparing for doing a daunting task: to access Out look Microsoft Outlook Express(regardles the operating system and Outlook version) from a Java applet (after the client (user) acknowleges to run this applet on his machine). The user has to read the existent user Microsoft Outlook users accounts and to setup another Microsoft Outlook user accont. As I know so far, that the only way is to access from the applet a...
9
1915
by: Swami | last post by:
I was wondering how I can programmatically find out the path of an installed program. I have an application that needs access to a config file that resides in the folder of another application. I'm guessing that this can be done by accessing the registry, but some articles or sample code would be useful. Thanks.
4
15096
by: Ashok | last post by:
Hello I need to programmatically change the permissions (ACL) on a specific registry key in a .NET app. Is there a way to do this in .NET? Thanks for the help, Ashok
2
1673
by: Daniel Bass | last post by:
I've found this article on how to get ASP.Net to read/write from the server's registry, but it got heavily critted as being something that you should not do... http://www.wwwcoder.com/main/parentid/263/site/2281/68/default.aspx what's the problem with a server side application reading data from a server
2
2427
by: Mostafa Salama | last post by:
i have a problem in accessing registry from web service i made a web service that call a function to access registry The web service contain the following code Dim RegKey As Microsoft.Win32.RegistryKey RegKey = Microsoft.Win32.Registry.LocalMachine RegKey = RegKey.OpenSubKey(KeyPath, True) but it gives me an error, unauthorized access of registry thanks
3
1924
by: mark.jerrom | last post by:
I'm fairly new to this Web Service game so please feel free to suggest something different if it looks like i'm completely off track! I'm trying to write an application that runs on a Pocket PC that is accessing data stored in a SQL server database on a seperate server (not on the pocket pc). This wil be deployed to lots of customers sites so I can't hard-code the location of the database in the program. I wrote a seperate little app...
7
13627
by: Cogito | last post by:
I installed Office 2000 Professional onto a Windows Vista laptop and when I tried to compile the code the following error message appears: 'User-Defined type not defined' I went to check the registry and the following message appears: 'Error accessing the system registry'. I have tied to repair Access using the Office 2000 repair facility but no luck.
1
1410
by: JLC | last post by:
Hi, I am trying to write a small windows application that you enter a domain\username and a key and hit enter. When you do this, the program will retrieve the password (which was encrypted, but through the program it spits it out to the user unencrypted). This encrypted password is stored in the registry. When I created it, I was an admin on the server where the registry was/is stored. But what I found out later, is that when regular...
1
1629
by: David Schrader | last post by:
Hello all, Let me start by saying that I'm not certain whether this belongs here, in this notes group, or another more developmentally oriented one. I'll try starting here then go elsewhere if you decide otherwise. (Already forwarded here, sort-of, from: microsoft.public.windowsnt.registry.) I'm writing a Visual Basic program which stores and retrieves data in the registry - no big thing, I've got all that code written
0
8948
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8780
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9315
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9186
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8190
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4816
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3264
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2182
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.