Link to home
Start Free TrialLog in
Avatar of markschenkel
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.


SOLUTION
Avatar of pmunro
pmunro
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it will allways be compiled when you use the dialogs unit
the trick is to fool delphi to use your own unit by placing it last in the uses list