I'm looking for a better example of how to use the PB registry functions posted here: http://www.powerbasic.com/support/pb...ad.php?t=24777
There are some good examples in there, and they all work. But when I try to read my own registry values, I get nothing. Below is my code that's having a problem. Instead of "(Default)", I've tried "REG_SZ" and "Value REG_SZ" and others. I'm trying to recover: "C:\PBWin80\Bin\PBWin.exe" %1
Thanks,
Christopher
There are some good examples in there, and they all work. But when I try to read my own registry values, I get nothing. Below is my code that's having a problem. Instead of "(Default)", I've tried "REG_SZ" and "Value REG_SZ" and others. I'm trying to recover: "C:\PBWin80\Bin\PBWin.exe" %1
Code:
RegDataGet(%HKEY_CLASSES_ROOT, _ "Applications\PBWin.exe\shell\open\command", _ "(Default)", sBuffer, dwRegType)
Christopher
Comment