Win 9x registry

  • Thread starter Thread starter Ganesan N
  • Start date Start date
G

Ganesan N

How to access windows registry using c++ code in win 9x. I
have written code which works perfectly fine on win2k but
not in win 95. Any help on this is very well appreciated.
Thanks.

Ganesan N
 
Hi,

You need to access this in a group that deals with the specific program
language you are using. This group does not deal with C++, nor does it deal
with Win9x problems. There are many VC groups on the Microsoft newsserver,
you should try one of them.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!

Associate Expert - WinXP - Expert Zone
 
You do it the same way. Any platform differences are listed in the docs. For instance Creating a key (using 32 bit not 16 bit) this is the difference
Windows 95/98/Me: No registry subkey or value name may exceed 255 characters.

If you used unicode functions (with a trailing W) then you must install unicode support on 9x.

Windows 95/98/Me: RegCreateKeyExW is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems.

Security parameters are ignored in 9x.

How would we know how you screwed up. You are the programmer. You must have read the docs on each function before using it.
 
Back
Top