Home > database >  Windows 7 registry read/write failure
Windows 7 registry read/write failure

Time:09-26

PB11.2 RegistryGet using PB own registry operation function RegistrySet, read and write registry failure under the Windows 7, the return value is 1, consult everybody, have met this kind of situation.

CodePudding user response:

Montana also please, a lot of attention!

CodePudding user response:

For li_1=0 to 10

Li_rc=registryGet (' hkey_local_machine \ system \ currentcontrolset \ services \ class \ nettrans \ '+ & amp;
String (li_1, '0000'), 'ipmask ls_ipmask)
If li_rc=1 then continue
If ls_ipmask='255.255.255.0' then
RegistryGet (' hkey_local_machine \ system \ currentcontrolset \ services \ class \ nettrans \ '+ & amp;
String (li_1, '0000'), 'ipaddress' gs_login_ip)
The exit
End the if
Next

Can be normal access, Windows 7 + pb 7

CodePudding user response:

Thank you for your smitxx! Can ask, you run the Windows 7 is 32 bit or 64 bit?

CodePudding user response:

A 32-bit

CodePudding user response:

Tried, no problem, check the firewall,,,

CodePudding user response:

Yes, no problem!

CodePudding user response:

Right-click, try using an administrator to run ~ ~

CodePudding user response:

I am using Windows 7 64 - bit, with these two functions can modify the registry! But I was using a pb9.0, 11.2 there should be no reason why not
  • Related