From: Peter Foot [MVP] on 26 May 2005 11:13 This is true, however a SIM card has security of it's own, so you can only write to certain parts of it, can you post a snippet of what you are trying to do so we can try and duplicate the issue? Peter -- Peter Foot Windows Embedded MVP http://www.inthehand.com | http://www.peterfoot.net | http://www.opennetcf.org "djarjar" <djarjar(a)discussions.microsoft.com> wrote in message news:51C9835F-3B24-43B2-9A4C-B282D1D7C7A5(a)microsoft.com... > ok thanks for the error constants definition ;). > > otherwise, any idea how to solve the issue with the SimWriteRecord method > that is not supported? > > Firstly I believed that it was due to a security problem but after reading > some article it seems that it is only possible to sign applications on > Smartphone and not on pocket pc. > > "Peter Foot [MVP]" wrote: > >> The error constants are defined in the header file simmgr.h in the SDK. >> >> Peter >> >> -- >> Peter Foot >> Windows Embedded MVP >> http://www.inthehand.com | http://www.peterfoot.net | >> http://www.opennetcf.org >> >> "djarjar" <djarjar(a)discussions.microsoft.com> wrote in message >> news:234B8C82-09EE-496A-855E-83D105C62D1C(a)microsoft.com... >> > SimWriteRecord return error code -2013265817 (0x88000067). >> > I don't know where it is possible to have the list of error code... but >> > I >> > have been told that this is "command not supported". >> > Can you confirm? >> > >> > If this is the case, it is very strange because I don't understand why >> > the >> > simReadRecord is supported and not the simWriteRecord. >> > >> > PS: where can I find the list of error code? >> > >> > "Peter Foot [MVP]" wrote: >> > >> >> What error (HRESULT) does your write operation give? >> >> >> >> Peter >> >> >> >> -- >> >> Peter Foot >> >> Windows Embedded MVP >> >> http://www.inthehand.com | http://www.peterfoot.net | >> >> http://www.opennetcf.org >> >> >> >> "djarjar" <djarjar(a)discussions.microsoft.com> wrote in message >> >> news:F29D0F0E-0BFB-4979-BCCE-9337F602CC87(a)microsoft.com... >> >> > Hi all, >> >> > >> >> > I have a question related to the SIM manager API. >> >> > I am trying to read/write data to the SIM card using an HP h6340 PDA >> >> > and I >> >> > can read data but cannot write: >> >> > - SimWriteRecord is not working >> >> > - simReadRecord is working well >> >> > >> >> > This is very strange that we can easily read but not write. >> >> > Do you have any idea? >> >> > >> >> > Could it be due to a problem of application signature? but it seems >> >> > that >> >> > it >> >> > is not possible to sign application on ppc. >> >> > >> >> >> >> >> >> >> >> >>
From: djarjar on 30 May 2005 03:31 TCHAR inData[256]; g_hRes = SimWriteRecord(g_hSim, efId, SIM_RECORDTYPE_LINEAR, 1, inData, 176); We have already succeeded in making this code work on another pocket PC (QTEK S100). That's why I don't understand why it is not working on the HP. Does that mean that the SIM manager API is not implemented in the same way between different pocketPC? "Peter Foot [MVP]" wrote: > This is true, however a SIM card has security of it's own, so you can only > write to certain parts of it, can you post a snippet of what you are trying > to do so we can try and duplicate the issue? > > Peter > > -- > Peter Foot > Windows Embedded MVP > http://www.inthehand.com | http://www.peterfoot.net | > http://www.opennetcf.org > > "djarjar" <djarjar(a)discussions.microsoft.com> wrote in message > news:51C9835F-3B24-43B2-9A4C-B282D1D7C7A5(a)microsoft.com... > > ok thanks for the error constants definition ;). > > > > otherwise, any idea how to solve the issue with the SimWriteRecord method > > that is not supported? > > > > Firstly I believed that it was due to a security problem but after reading > > some article it seems that it is only possible to sign applications on > > Smartphone and not on pocket pc. > > > > "Peter Foot [MVP]" wrote: > > > >> The error constants are defined in the header file simmgr.h in the SDK. > >> > >> Peter > >> > >> -- > >> Peter Foot > >> Windows Embedded MVP > >> http://www.inthehand.com | http://www.peterfoot.net | > >> http://www.opennetcf.org > >> > >> "djarjar" <djarjar(a)discussions.microsoft.com> wrote in message > >> news:234B8C82-09EE-496A-855E-83D105C62D1C(a)microsoft.com... > >> > SimWriteRecord return error code -2013265817 (0x88000067). > >> > I don't know where it is possible to have the list of error code... but > >> > I > >> > have been told that this is "command not supported". > >> > Can you confirm? > >> > > >> > If this is the case, it is very strange because I don't understand why > >> > the > >> > simReadRecord is supported and not the simWriteRecord. > >> > > >> > PS: where can I find the list of error code? > >> > > >> > "Peter Foot [MVP]" wrote: > >> > > >> >> What error (HRESULT) does your write operation give? > >> >> > >> >> Peter > >> >> > >> >> -- > >> >> Peter Foot > >> >> Windows Embedded MVP > >> >> http://www.inthehand.com | http://www.peterfoot.net | > >> >> http://www.opennetcf.org > >> >> > >> >> "djarjar" <djarjar(a)discussions.microsoft.com> wrote in message > >> >> news:F29D0F0E-0BFB-4979-BCCE-9337F602CC87(a)microsoft.com... > >> >> > Hi all, > >> >> > > >> >> > I have a question related to the SIM manager API. > >> >> > I am trying to read/write data to the SIM card using an HP h6340 PDA > >> >> > and I > >> >> > can read data but cannot write: > >> >> > - SimWriteRecord is not working > >> >> > - simReadRecord is working well > >> >> > > >> >> > This is very strange that we can easily read but not write. > >> >> > Do you have any idea? > >> >> > > >> >> > Could it be due to a problem of application signature? but it seems > >> >> > that > >> >> > it > >> >> > is not possible to sign application on ppc. > >> >> > > >> >> > >> >> > >> >> > >> > >> > >> > > >
First
|
Prev
|
Pages: 1 2 Prev: move ce42.net to ppc2003 problem? help plz. Next: Pocket Outlook custom forms |