Defining Registry Setting Automatically

I am creating an application and was wondering how you can define the registry settings for the hooks automatically when the application is loaded. For example - increasing the hook count by 1 and using the value to set my hooks for my application

TIA

John

Reply to
John
Loading thread data ...

"John" ha scritto nel messaggio news: snipped-for-privacy@TK2MSFTNGP12.phx.gbl...

? easy: RegOpenKey -> HKEY LOCAL MACHINE\Software\Microsoft\Retail Management System\Store Operation\Hooks

check count

before to increase verify that from 000 to current count value you have a free entry.. if yes use it...

else count := count+1

use count-1 to put your data

antonio

Reply to
Antonio Mazzeo

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.