Solved

Testing flash/drive on Windows ce, windows mobile device

Posted on 2010-11-11
3
420 Views
Last Modified: 2013-12-27
I want to test the flash on a windows ce device. I want to do writes and reads from the flash over extended period of times. My question is with a limited about of space, say 512mb on the flash if I wanted to limited the size of the file that will be created for the testing, that is created dynamically by this test routine would I possible grab the size of the current flash and limit the file size to some fraction of the current free space? Also does GlobalMemoryStatus return anything related to the amount of free flash space as in something like DiskFreeSpaceEx?

Thanks
0
Comment
Question by:atomicgs12
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
ID: 34118331
use FindFirstFlashCard() etc functions to determine what cards you have and their basic info.

http://msdn.microsoft.com/en-us/library/ms840697.aspx

and then maybe GetDiskFreeSpace() or GetDiskFreeSpaceEx():

http://msdn.microsoft.com/en-us/library/ms960687.aspx
0
 

Author Comment

by:atomicgs12
ID: 34121978
So when referring to the flash drive does GetDiskFreeSpaceEx have any relationship to information returned by GlobalMemoryStatus? I mean should I check both before allowing x file size to be created, where x will also be dynamic memory that has to be created to write to the file.
Thanks
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 34122043
as far I as understand it, GlobalMemoryStatus() returns you MEMORYSTATUS, which is nothing to do with flash card
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article shows how to setup the internet connectivity on Windows Mobile Emulator.   I assume that you already have Microsoft Visual Studio, Microsoft Windows Mobile SDK's and the emulator installed. The emulator is available with Visual Studi…
Progress means simplifying, not complicating. Bruno Munari Preface How to detect the name of the internal storage or an SD-card on Windows Mobile device from the desktop application? I got this question, when I was working on a PC applicati…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now