daviladanielc / Delphi-WindowsServiceUtils

Create, delete, stop, start, and change configurations of Windows services.
MIT License
22 stars 8 forks source link

UServiceManager Unit #1

Closed ageu closed 1 month ago

ageu commented 1 month ago

I got this error when compile a project

[dcc64 Error] uServiceManager.pas(308): E2010 Incompatible types: 'LPENUM_SERVICE_STATUSW' and '_ENUM_SERVICE_STATUSW' [dcc64 Error] uServiceManager.pas(320): E2010 Incompatible types: 'LPENUM_SERVICE_STATUSW' and '_ENUM_SERVICE_STATUSW' [dcc64 Error] uServiceManager.pas(1037): E2010 Incompatible types: 'LPENUM_SERVICE_STATUSW' and '_ENUM_SERVICE_STATUSW' [dcc64 Error] uServiceManager.pas(1045): E2010 Incompatible types: 'LPENUM_SERVICE_STATUSW' and '_ENUM_SERVICE_STATUSW'

Delphi CE 11.3

What is wrong?

daviladanielc commented 1 month ago

Maybe there is an issue with Delphi 11.3 and the Windows API. I will check it this week and fix it.

EmmanuelTriballier commented 1 month ago

Same error with Delphi 12 :

[dcc32 Erreur] uServiceManager.pas(308): E2010 Types incompatibles : 'LPENUM_SERVICE_STATUSW' et '_ENUM_SERVICE_STATUSW'

[dcc64 Erreur] uServiceManager.pas(308): E2010 Types incompatibles : 'LPENUM_SERVICE_STATUSW' et '_ENUM_SERVICE_STATUSW'

daviladanielc commented 1 month ago

Hi, sorry for the delay, but I just uploaded the fix.