I'm trying to build a webservice using Overbyte ICS THTTPAppServer component, i plan to run it as a windows service, i've setup the windows service but got problem when trying the AddGetHandler, the class to handle the request seems not recognized. It failed on line : 948 : TMyHttpHandler(Proc)(FLags); on file OverbyteIcsHttpAppServer.pas. It cause access violation.
My Setup is the usual windows service template, and i run the HTTPAppServer on serviceStart event
The webserver is working, i'm trying using the FHTTPServer.AddGetAllowedPath('/', afBeginBy); routine and it can handle the request
Problem only when try to access the URLHandler. so is it possible to make HTTPAppServer as windows service? And how to setup it correctly