Einzelnen Beitrag anzeigen

SlpLow

Registriert seit: 4. Nov 2013
28 Beiträge
 
#9

AW: Function (WIMGetMountedImageInfo)

  Alt 17. Dez 2013, 05:27
Thank you again!
Strings and integer okay!
A logical always returns a -1 (RW, R) instead of 0 and 1
Idx: = BoolToStr (Buffer ^ [I]. MountedForRW, False); :
or integer 257 (RW) or 1 (R) instead of 0 and 1
idx: = IntToStr (Integer (Buffer ^ [I]. MountedForRW)); :
Because it LongBool? Is there a solution?

I do not know, correct or not, but the problem disappeared when
Delphi-Quellcode:
const
MountedImageInfoLevel0 = 0;
Is it right decision?

Geändert von SlpLow (17. Dez 2013 um 06:05 Uhr)
  Mit Zitat antworten Zitat