First, I'm running a hopelessly ancient version (5.0.1) of LabView. As soon as I can get the boss to spring for it I'll upgrade but until then, I'm stuck...
I'm trying to write a VI that will return the timezone the computer clock is set to. There's a "nifty" winAPI call called GetTimeZoneInformation that includes the "bias" which is what I'm looking for, but how to call it? It wants a structure as an argument and I can't figure out how to set it up to do what I want... What I've tried so far, is to create a byte array that's 46 bytes long (as near as I can tell, that's the size of the structure.) Converted that to a string, passed the string to the "call library" function and wired the output to a string indicator. When I run it, I either get an error complaining about gnrclist.c, line 192 or the dreaded "illegal operation". Either way, LabView goes away... Any advice? Thanks! Bruce -- +-------------------+---------------------------------------------------+ Bruce Bowler | This B L A N K intentionally left spaced. - 1.207.633.9600 | Anonymous [EMAIL PROTECTED] | +-------------------+---------------------------------------------------+