示例#1
0
#!/usr/bin/env python3
# Rewrite of my earlier segfault_msgbox.vbs in a language that isn't so
# frustratingly difficult to use ;)
import tkinter
import tkinter.messagebox
import random
from _randapp import randapp

tkinter.Tk().withdraw()

rn = hex(random.randint(1, 4294967295))[2:10].zfill(8)
tkinter.messagebox.showerror(
    randapp() + " - Application Error",
    "The instruction at 0x%s referenced memory at 0x00000000. The "
    "memory could not be read.\n\nClick on OK to terminate the program" % rn)
示例#2
0
#!/usr/bin/env python3
# Rewrite of my earlier segfault_msgbox.vbs in a language that isn't so
# frustratingly difficult to use ;)
import tkinter
import tkinter.messagebox
import random
from _randapp import randapp

tkinter.Tk().withdraw()

rn = hex(random.randint(1,4294967295))[2:10].zfill(8)
tkinter.messagebox.showerror(randapp()+" - Application Error",
    "The instruction at 0x%s referenced memory at 0x00000000. The "
    "memory could not be read.\n\nClick on OK to terminate the program" % rn)
示例#3
0
#!/usr/bin/env python2
import tkinter
import tkinter.messagebox
from _randapp import randapp

tkinter.Tk().withdraw()

tkinter.messagebox.showerror(
    "Microsoft Visual C++ Runtime Library",
    "Runtime Error!\n\nProgram: C:\Windows\System32\%s\n\n\nThis "
    "application has requested the Runtime to terminate it in an "
    "unusual way. \nPlease contact the application's support team for"
    " more information." % randapp())
示例#4
0
#!/usr/bin/env python2
import tkinter
import tkinter.messagebox
from _randapp import randapp

tkinter.Tk().withdraw()

tkinter.messagebox.showerror("Microsoft Visual C++ Runtime Library",
    "Runtime Error!\n\nProgram: C:\Windows\System32\%s\n\n\nThis "
    "application has requested the Runtime to terminate it in an "
    "unusual way. \nPlease contact the application's support team for"
    " more information." % randapp())
示例#5
0
#!/usr/bin/env python2
# Rewrite of my earlier segfault_msgbox.vbs in a language that isn't so 
# frustratingly difficult to use ;)
import Tkinter
import tkMessageBox
import random
from _randapp import randapp

Tkinter.Tk().withdraw()

rn = hex(random.randint(1,4294967295))[2:10].zfill(8)
tkMessageBox.showerror(randapp()+" - Application Error",
    "The instruction at 0x%s referenced memory at 0x00000000. The "
    "memory could not be read.\n\nClick on OK to terminate the program" % rn)