AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi Function (WIMGetMountedImageInfo)
Thema durchsuchen
Ansicht
Themen-Optionen

Function (WIMGetMountedImageInfo)

Ein Thema von SlpLow · begonnen am 16. Dez 2013 · letzter Beitrag vom 19. Dez 2013
 
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#10

AW: Function (WIMGetMountedImageInfo)

  Alt 17. Dez 2013, 22:43
Thats because of the C style boolean definition:
FALSE = 0
TRUE = everything else

You can just check the flag like this:
if (Buffer^[I].MountedForRW) then or
if (not Buffer^[I].MountedForRW) then If your problem is just the bool to string conversion you can go for this:
BoolToStr(Buffer^[I].MountedForRW, true) or just write you an own function, if you dont like the -1 or the default bool strings.
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)

Geändert von Zacherl (17. Dez 2013 um 22:46 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:20 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz