473,322 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Reading and Writing physical media

I am working on an application to write a custom file system to our
MMC Cards used by our devices.

I have been able to use WMI to enumerate the connected MMC Card and
get all relevant information about it.

However what I cannot figure out is how to actually read and write
data from the card!

Note that the file system is my own so I need to be able to read /
write the actual blocks on the card itself.

Can anyone give me the nudge in the right direction as to where I need
to go from here? WMI Doesn't appear to give me anything beyond the
properties about the MMC Card. I can't find any Methods that would
allow me to perform any read / write operations.

Thanks in advance,

--
Stephan
2003 Yamaha R6

kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara
Aug 25 '06 #1
2 1139
Hi,
I don't think there is nothing like this in the framework you will have to
P/invoke all the functionality.

My first advise is to check in the unmanaged NGs.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Stephan Rose" <ke****@somrek.diespammer.netwrote in message
news:8u********************************@4ax.com...
>I am working on an application to write a custom file system to our
MMC Cards used by our devices.

I have been able to use WMI to enumerate the connected MMC Card and
get all relevant information about it.

However what I cannot figure out is how to actually read and write
data from the card!

Note that the file system is my own so I need to be able to read /
write the actual blocks on the card itself.

Can anyone give me the nudge in the right direction as to where I need
to go from here? WMI Doesn't appear to give me anything beyond the
properties about the MMC Card. I can't find any Methods that would
allow me to perform any read / write operations.

Thanks in advance,

--
Stephan
2003 Yamaha R6

kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara

Aug 25 '06 #2
On Fri, 25 Aug 2006 09:51:04 -0400, "Ignacio Machin \( .NET/ C# MVP
\)" <ignacio.machin AT dot.state.fl.uswrote:
>Hi,
I don't think there is nothing like this in the framework you will have to
P/invoke all the functionality.

My first advise is to check in the unmanaged NGs.
No problem there at all, the thing is that I have absolutely zero idea
on what to P/invoke. =)

I didn't even expect the framework to have the WMI stuff, I was
pleasantly suprised when I saw the System.Management namespace!

Thanks,

--
Stephan
2003 Yamaha R6

kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara
Aug 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Roberto Castro | last post by:
I have some problems with the way I am showing the BLOB fields in the Image web controls. It does work on my localhost though sometimes I need to hit Refresh for the images to load properly....
3
by: TC | last post by:
Hello, I'm trying to read a text file located in the top folder of the virtual directory and I'm receiving the following error: "Could not find a part of the path" Below is the code that...
4
by: William Sullivan | last post by:
I have an application that pulls images from a physical drive directory, creates a PDF of the image, caches the image, and returns a link to the client (using ajax, but that's not the problem). ...
7
by: John Pote | last post by:
Hello, help/advice appreciated. Background: I am writing some web scripts in python to receive small amounts of data from remote sensors and store the data in a file. 50 to 100 bytes every 5 or...
4
by: LuTHieR | last post by:
Hi, is there any way to write a header in each HTML page when printing them while leaving the header only on top of the file when viewing it? I mean, I have a file that looks like this: TITLE ...
2
by: totoro2468 | last post by:
Here is my code and output. Why is it writing to the array incorrectly, when I rewinded the file to the beginning? CODE: void ReadString (char *filename, int *lengthPtr) { FILE *ifp; char...
2
by: alem | last post by:
Hi there plz help me on this question, what are two popular physical media used for computer netweking.
8
by: Can2002 | last post by:
I've been trying to put together an application to change channel on a media streaming server. The server is able to issue IR commands to its attached equipment using LIRC, with commands being...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.