Jump to content

arcker

Active Members
  • Posts

    581
  • Joined

  • Last visited

  • Days Won

    1

arcker last won the day on January 7 2012

arcker had the most liked content!

About arcker

  • Birthday 04/16/1985

Profile Information

  • Location
    Orléans

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

arcker's Achievements

Universalist

Universalist (7/7)

16

Reputation

  1. just played around with pause and continue, and seems to work well. Will be added in service example v5 Custom code can be added too, can be useful for interaction within the service ?
  2. ​I've added to v5 ( with your name on it ) , thx for that
  3. found a weird bug when service is launched with net start / net stop It's a bug with RegisterServiceCtrlHandlerEx No problem when when run from service console I'll try to fix it or I back to the simple ( but working and needed for 90% of users ) RegisterServiceCtrlHandler ...
  4. @orbs Thx for the report. I'm trying to make a new version since i need it too now and I wonder how i could post a so messy bad code for v4 ... I can't reprodude the problem you have with dependencies : my service works well even if i go to dependencies tab. The current service example couldn't install the service ( at least, i've commented the install mode, but it wasn't enabled by default ) I'm reworking on it. BTW WINXP isn't supported anymore. It last code i posted wasnt the last code we manage to get with the help of bitboy. Can you download those ones ? : ServiceExample_v4.au3 Services.au3
  5. to be honest my old services scripts are running in previous clients i had, and i've not be warned of it. I've not made services or scripted services since a while now. I've plan to update it but not today. Do you have a security patch applied since the problems ? No reason for the services to run better after a uninstall / reinstall. The exe remains the same. I'll take a look if you can provide me more informations
  6. You can of course create IPCs to communicate between service and process. Programs like antivirus, teamviewer or other that starts both use an api to retrieve the current logged on users, and start a "gui" in it. I've manage to do it, but can't refind the script the api is somethink run as process token, search for it.
  7. Hi RTFC, Thx for your word about Services UDF, even if I really fixed it early ( you learn so much in 5 years Oo ) I try to pass more time here on community to help since autoit has served me well in the past years in my carrier For your project, no problem for the automatization of the crypt process. I would just post a screenshot about codescanner and how to program it, even if I love this interface, it's original and all information we need is here. I've another question : I've seen a lot of execute, so I wonder about performance, even if I know that's not the point here. if you have just some bench on it
  8. Hi ! I just test it and i don't know how you did it, but that's simply amazing !! I didn't change the key since I have to understand better how it works and how to create a script that would run ok on another environnements For an advice, maybe you could put every needed files in one zip, and some Tools to automate the crypt process. last advice, it's not easy to use codescanner ( treeview click interface ), a little more explanation would be interesting but at last, that's amazing. How much security can we guess with this ? Does it prevent decompilation ? i'll test with bigger script I have and try to report you. Hope some users will test it too, maybe afraid of all needed scripts, but as you said, once understood, it's easy Great job !
  9. from what i see, if I use sleep internal, it doesn't stop well after some time. From recent test, I can see that it's something related to memory reservation. That's why I recoded the engine to be more mem ok for the callbacks. I don't know why sometimes, the service doesn't stop well but what I can see it's well executed, so it's far better than before. for one error on 24299, I can say it's not bad too
  10. look the first post, I've already told about threadsafe I'm not really sure that "threadsafe" is the right term. The sleep function is the most called method in the loop, so maybe other function don't impact it as well. I just don't know. the thread safe doesn't correct the problem for xp, but the program is stable. About the gui, it's useful when you have to control something that the service do, not interact directly. All antivirus does it that way : one program for the taskbar, and the antivirus itself is the service.
  11. ok last update it seems the problem was the sleep, not threadsafe ( ??? ) so after 1 day with updated sleep function, no problem to stop it. I don"t know why but it works. if we can't use internal function it's too bad :/
  12. hi bitboy, that's what I used for gui too don't tell anyone how to do it since it's an hard process to make a gui since it uses another process and I don't want to talk about it here, because it's not the first purpose with the gui created in another process, then we can use interprocess ( use pipes or tcp instead of file ) to communicate between use process and service, that's how other program do. Btw about the old script, it seems that I have less problem if I reboot the computer. so for you I can post the update as it ?
  13. if i remember well about this script, it's not multithread since each time a func is called entire script is blocked. the only way to do MT in autoit is to use a dll with code Inside that will be executed in different thread.
  14. Hi guys, that's really good news, thx for the feedback. on xp I continue to get some issue. on win7 it seems that the script hang after some time but i tested with an old version. If you think it's good, I can publish this new code that would be for now the v4 @bitboy, did you use the last version that I posted ? here is a new one ( clear some useless function, like setstopevent that is used for multitthread in C, not here ) Services.au3
  15. ok no more crash on win7 but on winXP sometimes the error, but only at stop. i've redone the services.au3 to take care of new nested struct features. Doesn't change the problem on winxp but it's easier to understand in the code edit : I can confirm that on win7, after +500 stop & start, no more crash not the same issue on WinXP but I don't think it's autoit related now, and it only happens at stop please post your results too here the updated services.au3 Services.au3
×
×
  • Create New...