PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Récupération infos système
Récupération infos système
Started by NicoH, Nov., 04 2008 6:44 PM - 3 replies
Connect yourself…
NicoH
#1
Posted on November, 04 2008 - 6:44 PM
Bonjour,
Sur Windows Mobile et Windows CE, je souhaiterai récupérer les infos OEM afin de savoir sur quel type de matériel mon appli tourne. Sauf erreur, je n'ai rien trouvé dans les fonctions système de Windev. Je pensais faire appel à une dll mais je n'ai pas trouvé grand chose.
Auriez-vous une piste?
Merci d'avance
Report
0
0
Daniel DE HERDT
#2
Posted on November, 05 2008 - 12:09 PM
Moi, je joue avec le nom de la machine afin de savoir avec quelle
machine le programme tourne...
exemple : M3_100045
ge_Port_GPS = 2
gc_TypePDA = ExtraitChaîne(NetNomMachine(),1,"_")
SELON gc_TypePDA
CAS "M3"
CAS "IKON"
CAS "DIAM"
ge_Port_GPS = 4
CAS "HTC"
ge_Port_GPS = 4
CAS "HTCX"
ge_Port_GPS = 4
SysOrientationEcran(Orient0)
AUTRE CAS
gc_TypePDA = "X"
ge_Port_GPS = 4
FIN
NicoH avait prétendu :
Bonjour,
Sur Windows Mobile et Windows CE, je souhaiterai récupérer les infos OEM afin
de savoir sur quel type de matériel mon appli tourne. Sauf erreur, je n'ai
rien trouvé dans les fonctions système de Windev. Je pensais faire appel à
une dll mais je n'ai pas trouvé grand chose. Auriez-vous une piste?
Merci d'avance
Report
0
0
NicoH
#3
Posted on November, 05 2008 - 12:40 PM
A défaut, j'avais pensé à un fichier de config chargé au démarrage mais jouer avec le nom de machine est une bonne idée.
Merci!
Report
0
0
Sylvain Robert
#4
Posted on November, 13 2008 - 6:56 PM
Bonjour,
Voici l'info dont vous avez besoin !
OemInfo est Buffer sur 60
SPI_GETOEMINFO est un entier = 258
API("coredll.dll","SystemParametersInfoW",SPI_GETOEMINFO,Taille(OemInfo),&OemInfo)
Info(OemInfo)
Bon dev,
Sylvain
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text