Page 1 of 1

GetProfStr

PostPosted: Tue Jun 27, 2006 7:53 am
by Colin Haig
To All

Where does GetProfStr retrieve information from in Windows XP , in
Windows 98 it used to be win.ini - does it now get information
from the registry.

Regards

Colin

Re: GetProfStr

PostPosted: Tue Jun 27, 2006 8:04 am
by Enrico Maria Giordano
Yes.

EMG

GetProfStr

PostPosted: Tue Jun 27, 2006 9:11 am
by Colin Haig
Enrico

Thanks - do you know in what section of the registry - also
the "print oPrn to model" clause does that get information from the same area of the registry. I looked into the printer.prg in the
source but that still uses GetProfStr so I am not sure how it
finds it in the registry.

Regards

Colin

Re: GetProfStr

PostPosted: Tue Jun 27, 2006 10:50 am
by Enrico Maria Giordano
Sections are mapped to different keys of the registry. As an example, Devices should be here:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices

EMG