I created a service (i.e. runs as a service, not an application). I found afterwards it was calling a piece of code which had a showmessage contained in it. Consequently it was halting continuation.
Short of ensuring my code does not contain any showmessages, are there any alternatives? A lot of this code is used in win applications.