BigBoy

I am working on WINCE5.0 for my project,and I have to create some file on the SDCard on wince system.But if the SDCard is on Write Locked status.The system is go to dead.

Now,How do I check the SDCard and get the Card's Info tks .




Re: Smart Devices VB and C# Projects SD Card is Locked!

Ilya Tumanov

Try to write some file on to the card. If you can't but card has free space - it's locked.






Re: Smart Devices VB and C# Projects SD Card is Locked!

BigBoy

Tks.I try it before. But the wince system throw error.




Re: Smart Devices VB and C# Projects SD Card is Locked!

Ilya Tumanov

So catch it...






Re: Smart Devices VB and C# Projects SD Card is Locked!

BigBoy

Tks again.I know what you mean..and I have tried it before.This way is really right.But you know ,there are a lot of reasons that occur the Write File Error.and who know it is because of SD card locked.




Re: Smart Devices VB and C# Projects SD Card is Locked!

Ilya Tumanov

Eliminate all other reasons and what's left is a write protected card.






Re: Smart Devices VB and C# Projects SD Card is Locked!

BigBoy

Yes. I will have to do so if there is no any other solution.