How to detect which is PPC and PPC Phone?

Discussion in 'Questions (Windows Mobile)' started by conf, Jul 31, 2007.

  1. conf

    conf Member

    I write an application that some functions work only on PPC Phone. I want to detect if this is a PPC the functions will be disable.

    Please help me. Thank you.
     
  2. dzt

    dzt Active Member Licensed User

  3. conf

    conf Member

    Thank you dzt,

    But are there any simple way to detect ?
     
  4. stbi

    stbi Member Licensed User

    In my PhoneLib.dll I check simply for a phone.dll ...
     
  5. conf

    conf Member

    Thank you stbi,

    But I don't understand your answer. I need to check phone.dll on PPC/Phone PPC ? In case PPC also have a file called phone.dll, what I'll do ?
     
  6. stbi

    stbi Member Licensed User

    Check for existance of a file phone.dll on your PPC device. If phone.dll exists it's a PPC phone edition.
     
  7. conf

    conf Member

    I don't think that is a safe solution because anybody can create a file named phone.dll. I should use PhoneLib. Anyway, thank you so much :D
     
Loading...