rharwood2 Posted March 2, 2021 Share Posted March 2, 2021 I receive this error as soon as i try and move my compiled .exe out of the examples directory to its working directory. If I leave it in the autoit examples directory it works fine. Did a search on the forums and i can only find one other reference to this error, but it is not in the same context. Any ideas would be greatly appreciated. Notifervirtualprinterv1.au3 Link to comment Share on other sites More sharing options...
Subz Posted March 2, 2021 Share Posted March 2, 2021 Try using some error debugging to determine where the issue is, either MsgBox or writing to a log file. In most of my scripts I create a global variable $bDebug = True then throughout the script I will add "If $bDebug Then FileWrite(....) or Msgbox(...). Link to comment Share on other sites More sharing options...
Nine Posted March 2, 2021 Share Posted March 2, 2021 685 lines. And you want us to debug this code for you ? Debugging is an art. Subz just showed you few of the multiple ways. My favorite : recreate a script from scratch with only a few lines. Test. If working, then add a few more lines. If not working, you know that it is the few last statements that is the problem. Concentrate to the problem. Recreate a small snippet of the problem. THEN you can ask for help here with a specific issue, otherwise you are doomed to never find a solution... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
rharwood2 Posted March 3, 2021 Author Share Posted March 3, 2021 Thanks sub I will try what you suggested, this is a working script , so long as I leave it where it was written and compiled . It only gives the error when I move it to another directory after compiling it. Though maybe I was doing something wrong with the compile. Link to comment Share on other sites More sharing options...
rharwood2 Posted March 3, 2021 Author Share Posted March 3, 2021 Issue resolved: error was caused the commMG.dll dll file not residing in the same directory as the executable file. Once i copy it to the directory the exe was in everything worked fine. 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