OVH Cloud OVH Cloud

SD Card address

4 réponses
Avatar
Minimac
I wrote a program that loads files from the SD Card on
the PocketPC. So I wrote "file:///SD Card/ADS01-0002.swf"
in my code.
My problem is that when I use a french PocketPC it won't
work as the OS calls the "SD Card" a "Carte de stockage".
I can change my code obviously, but it would mean keeping
different versions of my program that I would like to
keep universal.

Would anyone here know how to change the name of
this "Carte de stockage", so that it works without
changing anything in my software ?

Thank you

4 réponses

Avatar
jcgibier
Bonjour,

Merci de noter que ceci est un groupe de discussion Français...
Néanmoins, la question étant posée en Anglais, j'y répondrai en Anglais.

You should be able to retrieve the name of the storage card, by reading the
registry
"HKLMSystemStorageManagerProfilesSDMMC"
or "HKLMSystemStorageManagerProfilesPCMCIA" :
the "Folder" key contains the name of the card ("Storage Card" on an
English device).

Jean-Claude

--------------------
| I wrote a program that loads files from the SD Card on
| the PocketPC. So I wrote "file:///SD Card/ADS01-0002.swf"
| in my code.
| My problem is that when I use a french PocketPC it won't
| work as the OS calls the "SD Card" a "Carte de stockage".
| I can change my code obviously, but it would mean keeping
| different versions of my program that I would like to
| keep universal.
|
| Would anyone here know how to change the name of
| this "Carte de stockage", so that it works without
| changing anything in my software ?
|
| Thank you
|
Avatar
Bonjour,

Désolé, mais je n'avais pas remarqué qu'il s'agissait
d'un forum en Français avant d'écrire mon message. Merci
pour votre réponse, mais comment fait-on pour atteindre
ce Registry et modifier le nom de cette carte ?

Merci
Avatar
Jean-Claude BELLAMY
Dans le message 46e701c3e40d$b0aecf60$,

s'est ainsi exprimé :

[...] mais comment fait-on pour atteindre
ce Registry et modifier le nom de cette carte ?


J'ai répondu il y a tout juste 4 heures dans ce même groupe (6 messages
avant le tien)!

"Re: retrouver une clef de logiciel" (à 11h20)

http://www.phm.lu/Products/PocketPC/RegEdit/

--
May the Force be with You!
La Connaissance s'accroît quand on la partage
----------------------------------------------------------
Jean-Claude BELLAMY [MVP] - http://www.bellamyjc.org
http://www.bellamyjc.org *


Avatar
Bruno R
Merci pour votre aide. Ca marche parfaitement.

Bruno R