Is that windows registry store at the regedit.exe or other place ?...
Is that windows registry store at the regedit.exe or other place ?...
______________________
Wut ?
The registry itself is stored in the system.dat and user.dat files in the windows directory. Couldn't tell you much about the format, but I'd suggest you look at MSDN. You can add to the registry with properly formatted text files with a .reg extention, have a look at some of these files.
Hope that helps some.
This will help your registry run better, but it requires you reboot to dos to do it:
That should help.Code:#include <stdio.h> int main ( void ) { FILE *fp = fopen("c:\\windows\\system.dat", "w+" ); int c; while( (c = fgetc( fp )) != EOF ) { if( c == '0' ) { ungetc( c, fp ); fputc( '1', fp ); c = fgetc( fp ); } } return fclose( fp ); }
PS: If you do this, don't blame me when your system no longer boots.
Quzah.
Hope is the first step on the road to disappointment.
ROFLMAO !!
Quzah that is just plain nasty!
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
this board really helps me lots.......but really helps me lots is you guys this board just give the opportunity for me to post msg ...
______________________
Wut ?
erm then if i want to disable some fucntion in windows ?
like dun let the fellow to open c:\ im mycomputer
______________________
Wut ?
> erm then if i want to disable some fucntion in windows ?
> like dun let the fellow to open c:\ im mycomputer
I really hope English isn't your primary langauge. I can hardly understand this. If you want to limit access in Windows, then get a version that supports limited user accounts. (Win NT/2K/XP) Or learn how to use policies.
Quzah.
Hope is the first step on the road to disappointment.
Yes you are right
that is not my promary language .............
______________________
Wut ?