FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GetProfStr
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
GetProfStr
Posted: Tue Jun 27, 2006 07:53 AM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
GetProfStr
Posted: Tue Jun 27, 2006 09:11 AM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: GetProfStr
Posted: Tue Jun 27, 2006 10:50 AM

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

Continue the discussion