Board index » delphi » non-tech? inno setup? Cardinal to Char? RegQueryDWordValue
n2kra
Delphi Developer |
non-tech? inno setup? Cardinal to Char? RegQueryDWordValue2006-01-26 10:29:22 PM delphi35 what does the non-technical mean here? OK to ask programming questions? Or where is an apropriate place? Since Inno Setup is in delphi, has delphi scripting - OK to discuss here? while, I am trying to edit to some minimal example of what I have tried so far, to post - Trying to find the coercesion of the Cardinal from RegQueryDWordValue, which represents a zero based Drive index (0 := Drive 'A', etc...) (forgive my functional pseudo code / thinking) YourDriveLetter := ?CharToStr?(Char(?CardToByte?(RQDWV)) + 65)) (And yes I know Chars can be wide, are not their CharCode) Hmm, I should probably check this - DirExists(YourDriveLetter + ':\') on a non-existant drive? (Abort, Retry, Ignore ?) |