Victor Pavlov
27-11-2015, 10:57
I am using Registry module. The problem is that lRet = Registry_SetValue("HKEYLM", "SYSTEM\WPA\MyProduct", "Installed", 1) always writes String value. I need DWord value. How should I do it?
ReneMiner
27-11-2015, 11:58
Registry_SetValue("HKEYLM", "abc", "defg", MKDWD$(1))
valRet = CVDwd( Registry_GetValue("HKEYLM", "abc", "defg"))
see CVx (http://www.thinbasic.com/public/products/thinBasic/help/html/cvx.htm) & MKx (http://www.thinbasic.com/public/products/thinBasic/help/html/mkx.htm)
Victor Pavlov
27-11-2015, 13:31
No. I found the correct way. It is lRet = Registry_SetDWord("HKEYLM", "SYSTEM\WPA\MyProduct", "Installed", 1)