Jump to content

Recommended Posts

Posted (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 by AoRaToS

s!mpL3 LAN Messenger

Current version 2.9.9.1 [04/07/2019]

s!mpL3 LAN Messenger.zip

s!mpL3

Posted

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 :D I will do my best.

Working on it release to 2.2

Posted (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. :D

Thanks also for the personal assistance provided through PM's and Email, :D

Edited by Shark007

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...