Giter Club home page Giter Club logo

Comments (5)

leledumbo avatar leledumbo commented on July 19, 2024

AFAIK you can't run service on your own, just install with -i or --install, then the OS will execute with -r or --run automatically.

from brookframework.

jbsolucoes avatar jbsolucoes commented on July 19, 2024

Hi, is installed as a windows service.

from brookframework.

silvioprog avatar silvioprog commented on July 19, 2024

For "Lazarus 1.1 r40545 FPC 2.7.1 i386-win32-win32/win64", please see this log:

c:\Users\Silvio\Desktop\x>project1.exe -r
Heap dump by heaptrc unit
131 memory blocks allocated : 5471/5720
131 memory blocks freed     : 5471/5720
0 unfreed memory blocks : 0
True heap size : 229376
True free heap : 229264
Should be : 229376

c:\Users\Silvio\Desktop\x>project1.exe -i
Service installed.
Heap dump by heaptrc unit
123 memory blocks allocated : 5205/5456
123 memory blocks freed     : 5205/5456
0 unfreed memory blocks : 0
True heap size : 229376
True free heap : 229264
Should be : 229376

c:\Users\Silvio\Desktop\x>project1.exe -u
Service uninstalled.
Heap dump by heaptrc unit
128 memory blocks allocated : 5225/5480
128 memory blocks freed     : 5225/5480
0 unfreed memory blocks : 0
True heap size : 229376
True free heap : 229264
Should be : 229376

from brookframework.

silvioprog avatar silvioprog commented on July 19, 2024

... And:

c:\Users\Silvio\Desktop\x>project1.exe -h
Usage: c:\Users\Silvio\Desktop\x\project1.exe [command]
Where command is one of the following:
  -i --install   To install the program as a service
  -u --uninstall To uninstall the service
  -r --run       To run the service
Heap dump by heaptrc unit
137 memory blocks allocated : 5494/5760
137 memory blocks freed     : 5494/5760
0 unfreed memory blocks : 0
True heap size : 229376 (112 used in System startup)
True free heap : 229264

from brookframework.

silvioprog avatar silvioprog commented on July 19, 2024

Please see:

1 - #11
2 - http://bugs.freepascal.org/view.php?id=23647

from brookframework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.