Autor Beitrag
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Sa 24.02.07 19:00 
Hi,

ich hab grad das Problem, das wenn ich mein Programm aus Delphi heraus via F9 starte, ich an einer bestimmten stelle im Code immer dieses HEX-Fenster von Delphi zu sehen bekomme und die Anwendung unterbrochen wird.. allerdings kommt keine Fehlermeldung.

Hat jemand eine idee woran das liegt?

passieren tut es an dieser stelle:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
var
  Stream: TStream;
  S: IStream;
  img Cardinal;
begin
  [...]
  S:=TStreamAdapter.Create(Stream);
  GdipLoadImageFromStream(S, img); // <-- HIER
end;


Hat jemand eine idee woran das liegt?
Das merkwürdige ist, wenn ich das Programm einfach ganz normal via Doppelklick auf die exe starte, kommt kein fehler und kein mucks.. es läuft einwandfrei.

Aya~

PS: Benutze Delphi 6.

_________________
Aya
I aim for my endless dreams and I know they will come true!
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Sa 24.02.07 20:27 
Meinst du mit Hex-Fenster die CPUAnsicht, mit den vielen Hexzahlen und pfeilen... das komplizierte ding?

Das bedeutet das eine Exception ausgelöst wurde, aber warum weiß ich auch nciht
Aya Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Mo 26.02.07 10:24 
Jep das ding meine ich :)
Aber, wenn da eine exception ausgelöst wird, wieso bekomme ich davon nichts mit wenn ich es nicht aus der IDE heraus starte?? (Selbst wenn sie in einem Try/Except block wäre, würde dann in der IDE doch eine fehlermeldung kommen)

Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Mo 26.02.07 14:01 
user profile iconAya hat folgendes geschrieben:
Jep das ding meine ich :)

gut
user profile iconAya hat folgendes geschrieben:
Aber, wenn da eine exception ausgelöst wird, wieso bekomme ich davon nichts mit wenn ich es nicht aus der IDE heraus starte??

vllt ist es irgendeine komische zugriffsverletzung, die man nur mit dem Debugger mitbekommt... :nixweiss:
user profile iconAya hat folgendes geschrieben:
(Selbst wenn sie in einem Try/Except block wäre, würde dann in der IDE doch eine fehlermeldung kommen)

Gut, das ist klar! Wenn du ein Programm aus der IDE heraus startest, dann bekommst du immer alle Exeptions mit, außer (bei D2005) wenn du einhakst "Diesen Exceptions-Typ ignorieren".