Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPassing a pointer to a thread Pin
Floppe4-Sep-02 21:08
Floppe4-Sep-02 21:08 
GeneralRe: Passing a pointer to a thread [corrected] Pin
Joaquín M López Muñoz4-Sep-02 21:16
Joaquín M López Muñoz4-Sep-02 21:16 
GeneralRe: Passing a pointer to a thread [corrected] Pin
Floppe4-Sep-02 21:37
Floppe4-Sep-02 21:37 
GeneralRe: Passing a pointer to a thread [corrected] Pin
Jon Hulatt4-Sep-02 21:49
Jon Hulatt4-Sep-02 21:49 
GeneralRe: Passing a pointer to a thread Pin
Gary R. Wheeler5-Sep-02 2:59
Gary R. Wheeler5-Sep-02 2:59 
QuestionHow do I toggle the "password" style for an edit box? Pin
fferland4-Sep-02 14:12
fferland4-Sep-02 14:12 
AnswerRe: How do I toggle the "password" style for an edit box? Pin
Sprudling4-Sep-02 14:42
Sprudling4-Sep-02 14:42 
QuestionCan I monitor removable device with ReadDirectoryChangesW? Pin
Hiusing4-Sep-02 13:30
Hiusing4-Sep-02 13:30 
Hello,
I would like to monitor any file and directory changes in a removable
device (memory card reader). However, when I create the handle of the drive
it failed.

HANDLE hDir = CreateFile(
"g:\\", // G: is the USB memory card reader
FILE_LIST_DIRECTORY,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
NULL,
OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OVERLAPPED,
NULL
);

Can I monitor removable device with ReadDirectoryChangesW? If so, how
do I create the handle of that device?

Thanks!


Generalfound source of error" invalid handle" need help debugging it Pin
ns4-Sep-02 11:46
ns4-Sep-02 11:46 
GeneralRe: found source of error" invalid handle" need help debugging it Pin
Chris Losinger4-Sep-02 11:48
professionalChris Losinger4-Sep-02 11:48 
GeneralRe: found source of error" invalid handle" need help debugging it Pin
Pavel Klocek4-Sep-02 11:59
Pavel Klocek4-Sep-02 11:59 
GeneralRe: found source of error" invalid handle" need help debugging it Pin
Michael Dunn4-Sep-02 16:41
sitebuilderMichael Dunn4-Sep-02 16:41 
GeneralCOM Containment Pin
Tim Wallace4-Sep-02 11:02
Tim Wallace4-Sep-02 11:02 
GeneralRe: COM Containment Pin
Bill Wilson4-Sep-02 11:11
Bill Wilson4-Sep-02 11:11 
GeneralOOPS correction Pin
Bill Wilson5-Sep-02 7:45
Bill Wilson5-Sep-02 7:45 
GeneralInsantiating COM Objects Pin
AJ1234-Sep-02 10:49
AJ1234-Sep-02 10:49 
Generalbuilding a string from hexadecimal values Pin
Kuniva4-Sep-02 10:11
Kuniva4-Sep-02 10:11 
GeneralRe: building a string from hexadecimal values Pin
Andrew Peace4-Sep-02 10:50
Andrew Peace4-Sep-02 10:50 
GeneralRe: building a string from hexadecimal values Pin
Kuniva4-Sep-02 11:11
Kuniva4-Sep-02 11:11 
GeneralRe: building a string from hexadecimal values Pin
Christian Graus4-Sep-02 11:54
protectorChristian Graus4-Sep-02 11:54 
GeneralAdding a data source question Pin
hiseldl4-Sep-02 10:00
hiseldl4-Sep-02 10:00 
GeneralRe: Adding a data source question Pin
Bill Wilson4-Sep-02 11:03
Bill Wilson4-Sep-02 11:03 
GeneralRe: Adding a data source question Pin
hiseldl4-Sep-02 11:18
hiseldl4-Sep-02 11:18 
GeneralRe: Adding a data source question Pin
Pavel Klocek4-Sep-02 12:05
Pavel Klocek4-Sep-02 12:05 
GeneralRe: Adding a data source question Pin
hiseldl5-Sep-02 5:38
hiseldl5-Sep-02 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.