Subj : Re: Win-98 Registry To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Mon May 17 2004 11:22 am nokomis wrote: >Anyone know a good source of info about accessing the registry (Borland >5.02, Win-98SE) with example code. I'm fairly good at Borland CPP >generally, but have never tried accessing the regiistry before. Seems >difficult! Do you have WIN32.HLP on your system? Look in there in the index under "registry" for info about using it. Also, example is in the find tab under "Using the registry" (or several pages into the registry topic.) If you don't have that help file, it's available on the Borland site in the same area as the free commandline compiler. Doing a GREP on my system for RegOpenKey found examples in MS SDK. {heavily edited} RegOpenKey(HKEY_CLASSES_ROOT, szKey, &hKey); RegQueryValue(hKey, "DefaultIcon", lpBuffer, &dw); RegCloseKey(hKey); .