Guest gavit Posted April 22, 2003 Report Posted April 22, 2003 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 April 22, 2003 Report Posted April 22, 2003 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:
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now