Funktion, die bei Programmabbruch unbedingt ausgeführt wird

  • Ich weiß das es das gibt, aber ich komme nicht mehr darauf:

    Wie kann man bewirken, dass eine Funktion stets bei Programmbeendigung und auch bei Programmabbruch ausgeführt wird?

    Vielen Dank schon mal im Voraus !!!!!!!!!

    Einmal editiert, zuletzt von DOheim (14. Januar 2013 um 17:26)

  • Meinst du vielleicht

    [autoit]

    OnAutoitExitRegister

    [/autoit]

    ?

    Mfg

    There's a joke that C has the speed and efficieny of assembly language combined with readability of....assembly language. In other words, it's just a glorified assembly language. - Teh Interwebz

    C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, you blow off your whole leg. - Bjarne Stroustrup
    Genie zu sein, bedeutet für mich, alles zu tun, was ich will. - Klaus Kinski

  • Es Klappt.

    Recht vielen Dank !!!


    Kein Problem. :)

    Mfg

    There's a joke that C has the speed and efficieny of assembly language combined with readability of....assembly language. In other words, it's just a glorified assembly language. - Teh Interwebz

    C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, you blow off your whole leg. - Bjarne Stroustrup
    Genie zu sein, bedeutet für mich, alles zu tun, was ich will. - Klaus Kinski