anixon Posted December 27, 2010 Posted December 27, 2010 My application is relient on the Skype4Com.dll version 1.0.31.0 being present in Program Files/Common Files/Skype/. Without the Skype software installed or the DLL in the Common Files folder for Skype this code used for testing peruposes confirms that it could not create the Skype object $oSkype = ObjCreate("Skype4COM.Skype") if not IsObj($oSkype) then Msgbox(0,"Error","$oSkype is not an Object. " & IsObj($oSkype)) else Msgbox(0,"Error","Successfully created Object $oSkype. " & IsObj($oSkype)) endif With the Skype4Com.dll copied to the Skype Common Files Folder the Skype Object could be created. My question is given that there are many versions of the Skype4Comm.dll how do I select and confirm that the object has been created with the required Skype4Com.dll version? Help is always appreciated.. Ant..
anixon Posted December 27, 2010 Author Posted December 27, 2010 (edited) Can't you just use FileGetVersion on the Dll file?Yes that is correct but when creating the object how do you select the version and its location that you want to create the object with?Ant.. Edited December 27, 2010 by anixon
trancexx Posted December 28, 2010 Posted December 28, 2010 (edited) You can't.However, AutoItObject allows it with function called _AutoItObject_ObjCreateEx().It would be something like this (if I got CLSID right):$oSkype = _AutoItObject_ObjCreateEx($sPathToDLL, "{830690FC-BF2F-47A6-AC2D-330BCB402664}")AutoItObject is UDF that you can find in examples. Edited December 28, 2010 by trancexx ♡♡♡ . eMyvnE
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