Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


How to detect which is PPC and PPC Phone?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2007, 03:50 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default How to detect which is PPC and PPC Phone?

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.
Reply With Quote
  #2 (permalink)  
Old 07-31-2007, 07:42 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Check Phonelib thread PhoneLib
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #3 (permalink)  
Old 07-31-2007, 07:47 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

Thank you dzt,

But are there any simple way to detect ?
Reply With Quote
  #4 (permalink)  
Old 07-31-2007, 09:02 AM
Junior Member
 
Join Date: Apr 2007
Location: Germany
Posts: 34
Default

Quote:
Originally Posted by conf View Post
But are there any simple way to detect ?
In my PhoneLib.dll I check simply for a phone.dll ...
__________________
iPAQ 6515, MDA compact
Reply With Quote
  #5 (permalink)  
Old 07-31-2007, 09:59 AM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

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 ?
Reply With Quote
  #6 (permalink)  
Old 07-31-2007, 02:28 PM
Junior Member
 
Join Date: Apr 2007
Location: Germany
Posts: 34
Default

Check for existance of a file phone.dll on your PPC device. If phone.dll exists it's a PPC phone edition.
__________________
iPAQ 6515, MDA compact
Reply With Quote
  #7 (permalink)  
Old 07-31-2007, 07:09 PM
Knows the basics
 
Join Date: May 2007
Posts: 82
Default

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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect ActiveSync connection Lasse Questions & Help Needed 2 07-27-2008 09:51 AM
Any way to generically detect a click anywhere? BurninSun Questions & Help Needed 3 07-19-2008 12:16 AM
How to detect whether SIP is active / not? belotrei Questions & Help Needed 5 06-01-2007 05:22 PM
GPS Port Auto Detect - more files derez Share Your Creations 2 05-14-2007 06:36 PM
GPS Port Auto Detect derez Share Your Creations 0 05-12-2007 07:38 PM


All times are GMT. The time now is 03:51 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0