Jump to content

Object Creation worked... Now it doesn't...


Recommended Posts

I posted a thread over here...

#660470

But I hadn't realized just how dead the COM/Obj forums were compared to the General Help and Support... I never received any help. :D

The fact of the matter is...

I am 110% sure this code WAS working on "Windows Server 2008"

$oMessenger = ObjCreate("Messenger.UIAutomation.1")
If Not IsObj($oMessenger) Then
    MsgBox(0,"Debug","Objection Creation Fail")
    Exit
Else
    $oMessenger.AddContact (0,"Test@test.com")
EndIf

Now this code does not work, with no changes being made to WLM or MsgPlus... Any ideas?

@ExtendedInfo:

Number is: 80004005
Windescription is: Unspecified Error

I'm racking my brains on this... What was tampered with? Why did the Object just quit working? Why would an object just quit working?

Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

Link to comment
Share on other sites

I posted a thread over here...

#660470

But I hadn't realized just how dead the COM/Obj forums were compared to the General Help and Support... I never received any help. :D

That forum is for using AutoItX with other languages, so that's probably why you didn't get much help.

I don't have a 2K8 box to test with, so these are just a few thoughts:

Check the registry on a working machine to see which exe/dll/ocx constitute the object. Unregister/re-register it.

I read somewhere that you may also need Windows Messenger (non-live) installed.

Maybe another vulnerability was found and MS broke the object with a hotfix. If so, you may find more info at their site.

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Link to comment
Share on other sites

1.) Unregistered, registered almost all MSN related DLL's with no avail.

2.) Window Live Messenger works perfect on 2 separate Win7 machines, and was working on the "Windows Server 2008".

3.) I have Automatic Updates off... :D

Thanks for your suggestions! I really do appreciate everything. :o

This isn't the only issue with WLM Objects... The above code doesn't work at-all with Windows XP... :D

SIGNATURE_0X800007D NOT FOUND

Link to comment
Share on other sites

Maybe this is the object you want?

Dim $oObj = ObjCreate('Messenger.MessengerApp')
$oObj.LaunchLogonUI

$oObj = 0

Object Methods:

Property Application As Object   ###read-only###
Sub AutoLogon()
Property CachedPassword(bstrUser As String, bstrPassword As String, pService As IMsgrService) As Boolean
Property FirstTimeCredentials(bstrUser As String, bstrPassword As String, pService As IMsgrService) As Long
Property FullName As String   ###read-only###
Property Height As Long
Property HWND As Long   ###read-only###
Property IMWindows As IMessengerIMWindows   ###read-only###
Sub LaunchAddContactUI(bstrEMail As String)
Sub LaunchAudioTuningWizard(hwndParent As Long)
Sub LaunchFindContactUI(bstrFirstName As String, bstrLastName As String, [vbstrCity], [vbstrState], [vbstrCountry])
Function LaunchIMUI(vUser) As IMessengerIMWindow
Sub LaunchLogonUI()
Sub LaunchOptionsUI(MOPTDLGPAGE As MOPTDLGPAGE)
Sub LaunchPhoneUI(vUser, ePhoneNumber As MUSERPROPERTY)
Property Left As Long
Property Name As String   ###read-only###
Property Parent As Object   ###read-only###
Property Path As String   ###read-only###
Sub Quit()
Sub RequestURLPost(muType As MURLTYPE, [vbstrAdditionalInfo])
Property StatusBar As Boolean
Property StatusText As String
Property TaskbarIcon As Boolean
Property ToolBar As Boolean
Property Top As Long
Property Visible As Boolean
Property Width As Long
Link to comment
Share on other sites

@ResNullius

Non-Affected Software

Operating System

Windows Vista and Windows Vista Service Pack 1

Windows Vista x64 Edition and Windows Vista x64 Edition Service Pack 1

Windows Server 2008 for 32-bit Systems

Windows Server 2008 for x64-based Systems

Windows Server 2008 for Itanium-based Systems

Not to mention.

Published: August 12, 2008

I am absolutely sure this is not the cause, That hotfix is not listed under my updates, and like I said, I've had updates off since I purchased the server, it did of course come stock with Updates enabled, which managed to slide a few in before I turned it off...

I tested this MSN Script months after Updates were disable, and have been disabled during/before/after testing.

@Authenticity

I'll take a look at that.. but as I've stated, "Messenger.UIAutomation.1" Worked perfect before...

SIGNATURE_0X800007D NOT FOUND

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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