Registry functions

Registry functions

Postby Jon Munro » Fri Oct 21, 2005 7:11 am

Antonio,
Are you planning to release the registry functions in version 1? Thanks for everything so far.
regards, saludos,
Jon Munro
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Fri Oct 21, 2005 10:57 am

Jon,

We have just published a new FWPPC build with registry management functions support. You may already download it.

We appreciate your feedback about how they work, thanks :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Sun Oct 23, 2005 1:26 pm

Antonio
Thanks for the update! 'RegQueryValue' is possibly missing the unicode to ascii conversion of the result and just returns the first character...tried patching it myself but clipapi.h prevents me. On the emulator I just used the 'owner' key to test this. The emulator doesn't seem to support writing to the registry, so I'll be testing on an Intermec 700 (where FWPPC runs perfectly) in a day or two and will let you know results... :)
Regards, Saludos,
Jon Munro
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Sun Oct 23, 2005 3:29 pm

Jon,

Jon Munro wrote:'RegQueryValue' is possibly missing the unicode to ascii conversion of the result and just returns the first character...


Yes, you are right. We have just fixed it and a new build is ready for download.

Jon Munro wrote:The emulator doesn't seem to support writing to the registry, so I'll be testing on an Intermec 700 (where FWPPC runs perfectly) in a day or two and will let you know results... :)


Many thanks for your feedback,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Mon Oct 24, 2005 4:02 am

Antonio
Thanks for the update. I've tested it on an Intermec 700 and used VidyaRegistry editor to check results:
Reading values and Creating keys is now OK. However, regsetvalue correctly creates the required subkey but writes the type 'REG_SZ' instead of the intended text contents... Nearly there :-) hth
Regards, Saludos,
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Mon Oct 24, 2005 9:40 am

Jon,

We have just published a new build. Please test it and let us know how it goes. Thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Tue Oct 25, 2005 7:10 am

Antonio,
RegSetValue now writes OK except that only half the string gets written to the registry - ie 10 chs become only 5 ! I suspect that the size of the data needs to be defined as DWORD. Also it works with the emulator too. RegDeleteKey is also OK. So now I can use it the way it is, there is no need to rush out a patch just for me, thanks. :)

regards
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Tue Oct 25, 2005 8:15 am

Jon,

We have published a new FWPPC build. Hopefully this time is ok :)

We do appreciate your feedback, so we can get registry functions working ok and continue with other issues development. Thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Wed Oct 26, 2005 7:11 am

Antonio,
Sorry, but RegSetValue still only writes half the string plus some spurious data. I believe the length of the string after conversion to unicode and including the terminating null is required (I've been reading MS help) :? . My simple tests just write a string then read it back for display and it shows up on the emulator as well as an Intermec 700 (where I can examine the registry independently).
RegEnumKey operates OK.
BTW - the Forum seems more focused and business-like, thanks.
hth
regards
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Wed Oct 26, 2005 11:50 am

Jon,

There is a new FWPPC build already available. This time it should work ok. Many thanks for your feedback and patience, :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Wed Oct 26, 2005 1:35 pm

Antonio,
RegSetValue now operates OK and the few extra characters it throws in gratis are not a problem. Thanks for the rapid solution. Sockets are next...
regards
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Wed Oct 26, 2005 1:47 pm

Jon,

Do you mean it is writting extra characters ? How many ? We may need to do an extra fine tunning.

Yes, we need to review sockets support.

Thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Thu Oct 27, 2005 7:06 am

Antonio
Yes RegSetValue seems to write extra characters depending on length - eg ABCDEFGHIJKLMNOP becomes ABCDEFGHIJKLMNOP???? plus Chr(03)
ABCDEFGHIJKLMNOPQ becomes ABCDEFGHIJKLPMNOPQ??? plus Chr(03)
yet strings of 10,11 or 20 chs are handled OK
ABCDEFGHIJKL becomes ABCDEFGHIJKL???????? plus Chr(03) which displays as a non-display character. I was planning on using a 16 digit user registration key :?
hth
regards, saludos
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Antonio Linares » Thu Oct 27, 2005 9:29 am

Jon,

We are going to do some tests here. Thanks!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Tue Nov 08, 2005 1:00 pm

Antonio,
My user registration scheme is now working using the registry functions. I simply discard the extra characters that are read, no worries. I have used hbcrypt to encrypt the values stored in the registry and instead of searching for a real device serial number have used a random generated number instead, written on first startup. Thanks.
BTW - I hope that DatePick is on your todo list... :)
regards
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Next

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 11 guests