![]() |
Re: crash in FindFile OpenGl
muss noch mal posten
Hab den Fehler gefunden. ;) alte
Delphi-Quellcode:
neue
// fill all Quads with NoCoverTexture
if FileExists(Path + UpperCase('Data\images\CompDisk\Default\NoCover.BMP')) then begin LoadTexture(Path + 'Data\images\CompDisk\Default\NoCover.BMP', NoCoverTexture, False); for q := 0 to QuadCount do QuadTexture[q] := NoCoverTexture; end else NoCoverTexture := 0;
Delphi-Quellcode:
Jetzt sagt mir mal jemand warum der Debuger das nicht korrekt erkennt .
// fill all Quads with NoCoverTexture
if FileExists(Path + UpperCase('Data\images\CompDisk\Default\NoCover.BMP')) then begin LoadTexture(Path + 'Data\images\CompDisk\Default\NoCover.BMP', NoCoverTexture, False); for q := 0 to QuadCount -1 do QuadTexture[q] := NoCoverTexture; end else NoCoverTexture := 0; Sehr traurig selbst VB6 kann das :mrgreen: gruss Emil |
Re: crash in FindFile OpenGl
Schalte RangeChecks an, und schon ist der Debugger schlauer. (Nicht immer ist die Technik allein "unschlau" :P)
Edit: Altertativ nutze von vorne herein High() und Low(), dann wirst du nie nie wieder so ein Problem haben. |
Re: crash in FindFile OpenGl
Zitat:
gruss Emil |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:29 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