markschenkel
asked on
ShowMessage in Service halts process
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.
Short of ensuring my code does not contain any showmessages, are there any alternatives? A lot of this code is used in win applications.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the trick is to fool delphi to use your own unit by placing it last in the uses list