Synchro Posted February 18, 2010 Share Posted February 18, 2010 I'd like to convert a Binary variable, such as returned by RegRead() for a REG_BINARY entry, into a DLLStruct. I can do it by using a bunch of BinaryMid() and DllStructSetData() calls, but I'm hoping there is a way to simply copy the entire structure from a Binary variable to an appropriately formatted DLLStruct. I'm looking for an elegant way to convert a registry Time Zone Info field (e.g. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Eastern Standard Time\TZI) into data that can be passed to _Date_Time_SetTimeZoneInformation(). Thanks. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now