Win32api.MessageBox

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Oct 15 04:27:20 EDT 2008


Unkwntech a écrit :
> When I use win32api.MessageBox from the interactive console from an
> app that runs at the command line, it works and displays my alert just
> fine however when I use it in a service that I built I can hear the
> 'beep' but the alert does not show and the program seems to stall
> waiting for the alert to close, how can I have the alert show so that
> the user can see what it says and press the button?

I'm by no mean a Win32 expert, but IIRC, Windows 'services' (IOW : 
daemons) are not suppose to directly interact with the user. Now you'd 
better not take me on words on this...



More information about the Python-list mailing list