likemike Posted December 17, 2021 Share Posted December 17, 2021 Hello! My program works well when compiling and starting as VCL. When starting it as a service (net start my_program) there occurs an error: "System error 109. The pipe has ended." (the log file only says: [Terminated]:Exit Code: 0 ) I've made a lot of similar programs with UniGui and all work as service without any error messages. Any idea? Regards Mike Link to comment Share on other sites More sharing options...
likemike Posted December 17, 2021 Author Share Posted December 17, 2021 I've found it by myself: "Application.CreateForm(...)" was called twice. Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2021 Share Posted December 17, 2021 8 minutes ago, likemike said: I've found it by myself: "Application.CreateForm(...)" was called twice. Did you add it yourself? Link to comment Share on other sites More sharing options...
likemike Posted December 17, 2021 Author Share Posted December 17, 2021 Yes! A typical "copy&paste" error. Link to comment Share on other sites More sharing options...
Recommended Posts