🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6865

Detection of removing an SD card connected to a USB card-reader

#6865
From: Marko
Date: Fri, 08 Apr 2005 15:07
6 lines
1058 bytes
Hello,

I'm writing an application which is reading data from an SD-card connected to a card-reader at the USB connection. I know there is a message generated by windows when the SD-card is plugged in, but how can I know the SD-card is taken off?

Marko
Technical Details
Message-ID: <4256902a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ed6821b005335ecc,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marko" <m.wichgers@nido.nl>
Sender: "Marko" <m.wichgers@nido.nl>
Reply-To: "Marko" <m.wichgers@nido.nl>
Subject: Detection of removing an SD card connected to a USB card-reader
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 82.161.152.83     
X-Forwarded-For: 192.168.16.221
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4256902a$1@newsgroups.borland.com>
Date: 8 Apr 2005 07:07:38 -0800
X-Trace: newsgroups.borland.com 1112969258 207.105.83.66 (8 Apr 2005 07:07:38 -0800)
Lines: 7
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail