jamesstp20 Posted March 6, 2010 Posted March 6, 2010 (edited) Hi all! i want to get my version of my iPod Touch with iTunesMobileDevice.dll! and i dont know how i want to do this function: MISProvisioningProfileGetVersion Here its all possible function: http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll Thanks you ! Edited March 6, 2010 by jamesstp20
darkjohn20 Posted March 6, 2010 Posted March 6, 2010 (edited) DllCall("C:\Program Files\Common Files\Apple\Mobile Device Support\bin\ iTunesMobileDevice.dll", return type, "MISProvisioningProfileGetVersion") I'm not sure what the return type would be...but this should get you started. Edited March 6, 2010 by darkjohn20
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 Thanks i do this: $test = DllCall("C:\Program Files\Common Files\Apple\Mobile Device Support\bin\iTunesMobileDevice.dll", "return type", "MISProvisioningProfileGetVersion") MsgBox(0,"Version", $test) But msgbox say : 0 Thanks for your help
darkjohn20 Posted March 6, 2010 Posted March 6, 2010 You need to change return type to something else. Look at DllCall in the Help File for the possible return types.
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 (edited) I tried and mgbox say 0 with : "" "INT_PTR" "LONG_PTR," "LRESULT, LPARAM" "UINT_PTR," "ULONG_PTR," "DWORD_PTR," And the other i get nothing Thanks for your help Edited March 6, 2010 by jamesstp20
Richard Robertson Posted March 6, 2010 Posted March 6, 2010 I'm pretty sure the function takes some parameters and through one of those parameters, returns a structure of some kind. Unless you find a function prototype, you won't be able to successfully call this function.
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 (edited) Euh.. Im not sure to understood... But if i try this command AMDeviceEnterRecovery it supose to put my ipod Touch on Recovery Mode and it do nothing.. Help Edited March 6, 2010 by jamesstp20
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 (edited) A C++ Programmor say: You need to create a struct. (He dont know what is Auoit Language) do you think it can be with this? DllStructCreate If yes how??????? Thanks Edited March 6, 2010 by jamesstp20
darkjohn20 Posted March 6, 2010 Posted March 6, 2010 Yes, I was about to say what Richard said. You probably need params.
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 But how.. Im not very good with a dll.. Im trying to use a DLL for the first time Thanks
Richard Robertson Posted March 6, 2010 Posted March 6, 2010 You need documentation on the dll. Until you get this, don't even bother trying to use it.
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 Where can i get the documentation? Can you check here please: http://theiphonewiki.com/wiki/index.php?title=MobileDevice_Library and http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll Its some documentation about iTunesMobileDevice.. Thanks
Richard Robertson Posted March 6, 2010 Posted March 6, 2010 (edited) That code is quite a mess. It's managed C++ mixed with something that appears to compile on Apple platforms. Also, that code doesn't document the function in question at all. Edited March 6, 2010 by Richard Robertson
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 (edited) Yes i think its the Mac AppleMobileDevice decompiled. Do you have an idea for use corectly the function? Edit: If someone want to help me by MSN PM me your adrsse Thanks Edited March 6, 2010 by jamesstp20
Richard Robertson Posted March 6, 2010 Posted March 6, 2010 (edited) No, the code you posted a link for didn't actually include the function you were looking for. Edited March 6, 2010 by Richard Robertson
darkjohn20 Posted March 6, 2010 Posted March 6, 2010 Yeah, I couldn't find the right function as well, but I did see a similar one with buildversions and other stuff. I can't make much sense of it at all, though.
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 (edited) Do you think its possible to do this in autoit? If you want to help me on MSN PM your adresse Edited March 6, 2010 by jamesstp20
Richard Robertson Posted March 6, 2010 Posted March 6, 2010 (edited) Possible? Yes. Easy? Not one bit. Apple doesn't like anyone except themselves using their devices, so they pretty much lock everything down. I would just drop this project now. Why do you want a script to figure the version when you can just read it yourself? Edited March 6, 2010 by Richard Robertson
jamesstp20 Posted March 6, 2010 Author Posted March 6, 2010 Because when i will able to get the version i will probably able to use the other command with this dll.. Thanks
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