Jump to content

SimReadRecord problem


Recommended Posts

Guest gavit
Posted

Anyone of you could get to read file from the SIM? I need to read the ACM file on the SIM. I use:

if(SUCCEEDED(SimInitialize(0, NULL, NULL, &g_hSim)))

{

DWORD address= 0x6F39;

HRESULT res = SimReadRecord(g_hSim,address, SIM_RECORDTYPE_UNKNOWN, 0, buffer, 128, &byteReaded);

}

the simReadRecord return an "file not found error" (that is a generic error). I try with other random addresses, but the result is the same.

Guest Arisme
Posted

Well, I don't know about 6F39, but be warned that not all files on the SIM can be read ... most of the files in the DF GSM can be, but not all ... some other files in other DFs can be read too, but not all ... and of course you cannot switch to another DF, just use the EF name and cross your fingers :?

of course these "features" are not documented :wink:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.