Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: conversion from LPVOID to char [260] Pin
vibindia12-Mar-07 4:25
vibindia12-Mar-07 4:25 
QuestionDynamic Multidimentional Array? Pin
MohammadAmiry12-Mar-07 1:11
MohammadAmiry12-Mar-07 1:11 
AnswerRe: Dynamic Multidimentional Array? Pin
prasad_som12-Mar-07 1:22
prasad_som12-Mar-07 1:22 
AnswerRe: Dynamic Multidimentional Array? Pin
ThatsAlok12-Mar-07 1:32
ThatsAlok12-Mar-07 1:32 
GeneralRe: Dynamic Multidimentional Array? Pin
MohammadAmiry12-Mar-07 1:44
MohammadAmiry12-Mar-07 1:44 
QuestionHelp!!!!! Pin
Member 391312212-Mar-07 0:46
Member 391312212-Mar-07 0:46 
AnswerRe: Help!!!!! Pin
kakan12-Mar-07 0:59
professionalkakan12-Mar-07 0:59 
QuestionSetupDiEnumInterfaceDetail() is returning me same instanceID for two different devices Pin
thushar12-Mar-07 0:26
thushar12-Mar-07 0:26 
I'm trying to find the drive letters allocated for USB devices.The flow i follow is,

I'm finding all logical drives connected to the system. from each dive letter i'm finding the device number. Then by enumerating thru all the devices belonging to GUID (GUID_DEVINTERFACE_DISK or VOLUME) i'm enumerating through all the devices that belongs to this class GUID.

The API's i'm using are

SetupDiGetClassDevs()

SetupDiEnumInterfaceDevice

SetupDiEnumInterfaceDetail() - (SP_DEVINFO_DATA structure returns the device instanceID ).

For Vista this flow is working fine. In XP this API's is returning the same instanceID for me for different devices(In some scenario).

Example : IF i connect a USB FDD and USB Memory key , for both the devices the

SP_DEVINFO_DATA structure returns me the same instanceID.

Please help me to find the problem.

Thanks in advance.

Best Regards,

Thushar

QuestionButton "Visible" Pin
Ing.Raiz8212-Mar-07 0:17
Ing.Raiz8212-Mar-07 0:17 
AnswerRe: Button "Visible" [modified] Pin
prasad_som12-Mar-07 0:26
prasad_som12-Mar-07 0:26 
AnswerRe: Button "Visible" Pin
ThatsAlok12-Mar-07 0:04
ThatsAlok12-Mar-07 0:04 
AnswerRe: Button "Visible" Pin
Hamid_RT12-Mar-07 5:43
Hamid_RT12-Mar-07 5:43 
AnswerRe: Button "Visible" Pin
Ing.Raiz8212-Mar-07 1:19
Ing.Raiz8212-Mar-07 1:19 
JokeRe: Button "Visible" Pin
Ing.Raiz8212-Mar-07 5:53
Ing.Raiz8212-Mar-07 5:53 
GeneralRe: Button "Visible" Pin
Hamid_RT12-Mar-07 6:46
Hamid_RT12-Mar-07 6:46 
Questionhow to change menu font of particular application, Pin
Atul2311-Mar-07 23:52
Atul2311-Mar-07 23:52 
AnswerRe: how to change menu font of particular application, Pin
ThatsAlok12-Mar-07 0:12
ThatsAlok12-Mar-07 0:12 
QuestionBuffer Size Pin
Programm3r11-Mar-07 22:23
Programm3r11-Mar-07 22:23 
AnswerRe: Buffer Size Pin
toxcct11-Mar-07 22:02
toxcct11-Mar-07 22:02 
GeneralRe: Buffer Size Pin
Programm3r11-Mar-07 23:26
Programm3r11-Mar-07 23:26 
GeneralRe: Buffer Size Pin
toxcct11-Mar-07 23:30
toxcct11-Mar-07 23:30 
GeneralRe: Buffer Size Pin
Programm3r12-Mar-07 0:06
Programm3r12-Mar-07 0:06 
GeneralRe: Buffer Size Pin
John R. Shaw12-Mar-07 0:14
John R. Shaw12-Mar-07 0:14 
GeneralRe: Buffer Size Pin
ThatsAlok11-Mar-07 23:32
ThatsAlok11-Mar-07 23:32 
GeneralRe: Buffer Size Pin
Programm3r12-Mar-07 0:07
Programm3r12-Mar-07 0:07 

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.