Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Testing flash/drive on Windows ce, windows mobile device

Posted on 2010-11-11
3
Medium Priority
?
434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently asked a question (http://www.experts-exchange.com/Programming/Smartphones/Android/Q_28684946.html) about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

610 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