Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The service is not being created #1

Open
d34d9007 opened this issue Jan 26, 2024 · 1 comment
Open

The service is not being created #1

d34d9007 opened this issue Jan 26, 2024 · 1 comment

Comments

@d34d9007
Copy link

Hi, I can't seem to create the service on Windows 10.
I downloaded WindowsServiceDLL64.dll and put it in the lib folder. When I call your dartInstallService method, the service is not created and I get no error.
I also tried your example but could not create the service.
Should the commands be executed in a certain order? Or do I need to set something else? Any support is welcome
Thank you

@au-top
Copy link
Owner

au-top commented May 17, 2024

Sorry, I only saw it now

try dart_windows_service_support/example

make service.dart get service.exe

run install_service.dart install service.exe to windows service this is all the steps

If the failure occurs, it may be due to permissions or other issues
Or you should take a look at windows_platform/WindowsServiceDLL

Perhaps there was an error in the communication between C and Windows, resulting in compatibility issues

Or maybe Dart ffi didn't find the DLL correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants