Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Inconsistency with _Singleton()

$
0
0

The Singleton function is behaving differently between my desktop and my laptop, even in a compiled file. For some reason on the laptop, it returns a handle every time the function is called regardless of whether the $sOccurrenceName value is already used or not.

 

I took this code and compiled:

#include <Misc.au3> #include <Debug.au3> $a = _Singleton('test', 1) $b = _Singleton('test', 1) MsgBox(0, '', _DebugBugReportEnv() & @LF & $a & @LF & $ B)

 

When run on my desktop I get this:

AutoIt:3.3.9.4 AdminMode Compiled   (Os:WIN_7/SP1/X64   OSLang:0409) 0x000001DC 0

But on my laptop I get this:

AutoIt:3.3.9.4 AdminMode Compiled   (Os:WIN_7/SP1/X64   OSLang:0409) 0x0000023C 0x00000240

I don't even know where to start with troubleshooting this. Any ideas?


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>