Oneqa Posted October 23, 2010 Share Posted October 23, 2010 Hi all, I've been using AutoIt as my main programming script for almost a month now. Im getting to love AutoIt more and more now But now i have encounter a little problem regarding _Singleton UDF... Back then when i first started using _Singleton UDF it was working perfectly. But now after several scripting I've done, it wasn't working anymore (script can be execute more than one). I have try with my old script (has been tested working with _Singleton) and it didn't work. Is it something related with my Windows filesystem or DLL? I have try reinstall AutoIt but the result still the same. For Now i have replace the function with 'WinExists' method. But i'm still curious as how this happen. Any help or info would be appreciated. Thanks! PS: Been wandering around forum as guest for a month Link to comment Share on other sites More sharing options...
jaberwacky Posted October 23, 2010 Share Posted October 23, 2010 Welcome to the forum! Enjoy your stay. Show us how you're using _Singleton() Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
KaFu Posted October 23, 2010 Share Posted October 23, 2010 Had that on my old notebook too, winapi responded with "Can not open Module", guess something was messed up with the drivers. Thats why I coded my UDF Enforce Single Instance, maybe give it a try. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Oneqa Posted October 23, 2010 Author Share Posted October 23, 2010 @ jaberwocky6669 : I'm using exactly as in the help file. Got it working before, but not anymore... @ KaFu : Thanks for the advice. Even though i didn't get the same error as yours, i'm gonna try your suggestion. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now