Recent

Author Topic: Deploying A Windows Service  (Read 1728 times)

James_Parsons

  • New Member
  • *
  • Posts: 14
Deploying A Windows Service
« on: February 05, 2014, 03:07:46 pm »
Does the FPC support the compilation as a background service? If so, what are the compiler options that will allow me to do this. If not, is there a way to write a program that doesn't display anything, not even a console?
For Each each in eaches()
   each()
Next each

luca

  • Jr. Member
  • **
  • Posts: 57
Re: Deploying A Windows Service
« Reply #1 on: February 05, 2014, 03:25:58 pm »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8267
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Deploying A Windows Service
« Reply #2 on: February 05, 2014, 03:43:08 pm »
Quote
Does the FPC support the compilation as a background service? If so, what are the compiler options that will allow me to do this. If not, is there a way to write a program that doesn't display anything, not even a console?
Service or daemon are (special) console programs, no relation with compiler switch. You will need the console, so you can't get rid of that when writing services. If you don't want to display the console, add {$apptype gui} in the program file.

 

TinyPortal © 2005-2018