PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: philipstorry on March 22, 2005, 08:39:03 PM

Title: Registry functions for DWORD and Boolean...
Post by: philipstorry on March 22, 2005, 08:39:03 PM
We have registry functions for strings, but not DWORD and Boolean...

This is a low priority "it would be nice if..." request. I can go dig out code from my own libraries to fulfill this (or, indeed, use some I saw on the PB forum ages ago). But I've been using the FF_INI functions and I like the simple, consistent interface that it exposes for me.

I've used the FF_GetRegistryString function, but I'd also like to check a DWORD and was a little disappointed to find that FireFly only handles strings right now.

I'd basically like the same simple, consistent and complete interface for registry functions that FireFly gives me for INI files. Mostly because I'm lazy. :D

Thanks!
Title: Registry functions for DWORD and Boolean...
Post by: TechSupport on March 22, 2005, 09:25:43 PM
I'm sure that one of the guys (Roger, most likely :) ) asked for this a loooooooooong time ago. Looks like my brain and note taking is not that good.

I'll add them to the next FireFly update.

Are there any other groups of FireFly Functions that you would like to see?
Title: Registry functions for DWORD and Boolean...
Post by: Haakon Birkeland on March 22, 2005, 09:42:01 PM
I think I have some code reading binary data from the registry as well. That was a tricky one back then.. I belive I got some help from Semen to make it work to my purpose. I used it in a clean-up application for a real bad-ass browser hijacker that had a nifty protection scheme.
Title: Registry functions for DWORD and Boolean...
Post by: philipstorry on March 23, 2005, 09:31:17 AM
Paul,

I did a search before putting this wish in, and only found it referenced in another wish as an "and also..." sort of request... Otherwise, I would have bumped the orginal request. :-)

I can't think of anything specific. I do have a nifty routine I'm using right now VERY frequently, which you might like. Or not. I'll stick it in another suggestion, rather than pollute this one. :)

Phil

{Edited because of an errant /CODE the editor put in... *sighs*}
Title: Registry functions for DWORD and Boolean...
Post by: Roger Garstang on March 23, 2005, 11:17:30 AM
Yeah, I think I posted code for reading DWORD somewhere too.  It was pretty much the same, just a matter of setting the size to the DWORD size, etc.