Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

DLL Questions! "iTunesMobileDevice.dll"


  • Please log in to reply
39 replies to this topic

#1 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 08:02 PM

Hi all! i want to get my version of my iPod Touch with iTunesMobileDevice.dll! and i dont know how :mellow:

i want to do this function: MISProvisioningProfileGetVersion

Here its all possible function: http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll

Thanks you !

Edited by jamesstp20, 06 March 2010 - 08:13 PM.








#2 darkjohn20

darkjohn20

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 347 posts

Posted 06 March 2010 - 08:49 PM

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 by darkjohn20, 06 March 2010 - 08:50 PM.


#3 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 08:57 PM

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 :mellow:

#4 darkjohn20

darkjohn20

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 347 posts

Posted 06 March 2010 - 08:59 PM

You need to change return type to something else. Look at DllCall in the Help File for the possible return types.

#5 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 08:59 PM

Ok i will try all :mellow:

#6 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 09:10 PM

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 by jamesstp20, 06 March 2010 - 09:11 PM.


#7 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,183 posts

Posted 06 March 2010 - 09:16 PM

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.

#8 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 09:24 PM

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 :mellow:

Edited by jamesstp20, 06 March 2010 - 09:31 PM.


#9 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 09:29 PM

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??????? :mellow:

Thanks

Edited by jamesstp20, 06 March 2010 - 09:29 PM.


#10 darkjohn20

darkjohn20

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 347 posts

Posted 06 March 2010 - 09:30 PM

Yes, I was about to say what Richard said. You probably need params.

#11 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 09:34 PM

But how.. Im not very good with a dll.. Im trying to use a DLL for the first time :mellow:

Thanks

#12 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,183 posts

Posted 06 March 2010 - 09:56 PM

You need documentation on the dll. Until you get this, don't even bother trying to use it.

#13 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 10:54 PM

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

#14 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,183 posts

Posted 06 March 2010 - 11:00 PM

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 by Richard Robertson, 06 March 2010 - 11:05 PM.


#15 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 11:04 PM

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 :mellow:

Thanks

Edited by jamesstp20, 06 March 2010 - 11:07 PM.


#16 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,183 posts

Posted 06 March 2010 - 11:06 PM

No, the code you posted a link for didn't actually include the function you were looking for.

Edited by Richard Robertson, 06 March 2010 - 11:06 PM.


#17 darkjohn20

darkjohn20

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 347 posts

Posted 06 March 2010 - 11:07 PM

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.

#18 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 11:07 PM

Do you think its possible to do this in autoit?

If you want to help me on MSN PM your adresse :mellow:

Edited by jamesstp20, 06 March 2010 - 11:08 PM.


#19 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,183 posts

Posted 06 March 2010 - 11:16 PM

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 by Richard Robertson, 06 March 2010 - 11:17 PM.


#20 jamesstp20

jamesstp20

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 06 March 2010 - 11:19 PM

Because when i will able to get the version i will probably able to use the other command with this dll..

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users