Hi Johan,
just some shots in the dark:
- maybe you can turn on driver tracing (trace.exe) and see wether it freezes on the some spot every time
- maybe refine a lttle by adding an OutputDebugView command here and there (does it actually "reach" the form procedure?, if so, to what point?)
don't know what back end and Clarion version you're using, but sql/odbc is a little flaky in recent versions of c10 (but then it shouldn't make any difference wether it runs as a service ...)
regards,
Ton