#1 2022-10-24 17:33:01

Marchand Nicolas
Member
Registered: 2019-09-26
Posts: 3

Problem starting a windows service

hello,
I have been developing for many years an application under delphi (currently version 11, with the last version of synopse.)

In console mode application works fine.
But if I try to launch it in windows service mode I have the following two errors:
  * 20221024 17090204  " EXCOS EAccessViolation (c0000005) [] at 7ffe6b444fe4
  * 20221024 17090253  " EXCOS EExternalException (06) [] at 7ffe6ab2fb0c
The map system of address c0000005 is in windowsAPIs.INC -System

Debugging show an exception "ACCESS_VIOLATION" in TService.ReportStatus trying  to run the windows procedure "SetServiceStatus(FStatusHandle, fStatusRec);" (ligne 1242 of mORMotService)


Has anyone had this problem before or have a clue...
I stall!

Thanks in advance

Offline

#2 2022-10-24 20:28:34

igors233
Member
Registered: 2012-09-10
Posts: 241

Re: Problem starting a windows service

Is that Win64bit application?
Perhaps same situation as with https://synopse.info/forum/viewtopic.ph … 428#p38428

Offline

#3 2022-10-25 03:47:21

Marchand Nicolas
Member
Registered: 2019-09-26
Posts: 3

Re: Problem starting a windows service

Yes it's an win64 application
The situation seems indeed similar.
I hadn't seen the post that had to come up while I was writing...

Offline

#4 2022-10-28 04:30:19

Marchand Nicolas
Member
Registered: 2019-09-26
Posts: 3

Re: Problem starting a windows service

I problem is also solved for me.
Thank you all

Offline

Board footer

Powered by FluxBB