AoRaToS Posted September 2, 2009 Share Posted September 2, 2009 (edited) So this is what's to blame... $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2") If Not IsObj($objWMIService) Then Return SetError(1, 0, '') $colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) Edited September 2, 2009 by AoRaToS s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
WolfWorld Posted September 2, 2009 Author Share Posted September 2, 2009 So this is what's to blame...$objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2")If Not IsObj($objWMIService) Then Return SetError(1, 0, '')$colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly)You will need to rename the function in Obj*("something that is a function") to match the function you have yourself.I will add something to prevent this in the feature. Trust me I will do my best.Working on it release to 2.2 Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
Shark007 Posted September 2, 2009 Share Posted September 2, 2009 The Obfuscator program is found OK.New problem, (try with 'Rename Variables' unchecked or unchecked, same error) Link to comment Share on other sites More sharing options...
WolfWorld Posted September 3, 2009 Author Share Posted September 3, 2009 The Obfuscator program is found OK.New problem, (try with 'Rename Variables' unchecked or unchecked, same error)Send me the script by PM, that should never happen at all unless you have more than 26*26*26+26*26+26 variables. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
Shark007 Posted September 3, 2009 Share Posted September 3, 2009 PM sent, thanks Link to comment Share on other sites More sharing options...
WolfWorld Posted September 4, 2009 Author Share Posted September 4, 2009 PM sent, thanks Done fixing, it took me 4.5 hours to do all of that. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
Shark007 Posted September 4, 2009 Share Posted September 4, 2009 (edited) Done fixing, it took me 4.5 hours to do all of that.you need to know, your time and skills are appreciated.This is the last long weekend of the summer for Canadians and i'm going camping.I will not be able to test your latest improvements until I return.Testing completed. THANK YOU for eating my speghetti. Thanks also for the personal assistance provided through PM's and Email, Edited September 4, 2009 by Shark007 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