Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Compute the ID of "eject" menuitem? Pin
Syouki_kou27-Feb-06 14:07
Syouki_kou27-Feb-06 14:07 
AnswerRe: How to Compute the ID of "eject" menuitem? Pin
mbue27-Feb-06 15:47
mbue27-Feb-06 15:47 
GeneralRe: How to Compute the ID of "eject" menuitem? Pin
Syouki_kou27-Feb-06 16:42
Syouki_kou27-Feb-06 16:42 
GeneralRe: How to Compute the ID of "eject" menuitem? Pin
Nibu babu thomas27-Feb-06 17:15
Nibu babu thomas27-Feb-06 17:15 
GeneralRe: How to Compute the ID of "eject" menuitem? Pin
mbue27-Feb-06 21:19
mbue27-Feb-06 21:19 
GeneralRe: How to Compute the ID of "eject" menuitem? Pin
Syouki_kou27-Feb-06 22:02
Syouki_kou27-Feb-06 22:02 
GeneralRe: How to Compute the ID of "eject" menuitem? Pin
mbue27-Feb-06 22:49
mbue27-Feb-06 22:49 
QuestionInstalling virtual hardware with installer Pin
rarefluid27-Feb-06 13:44
rarefluid27-Feb-06 13:44 
Hi all.

I created an MS Windows application working with virtual COM-ports and an MSI-installer for it.
My problem is that you have to install the virtual port (com0com sourceforge-project) by hand using the System->Hardware->"Add new hardware" function. I'd like to find a way to add the "hardware" to the system with my installer with as few user-interaction as possible.
I tried "DPInst" from the MS DFIx framework for installing drivers, but failed. DPInst installed the driver to the system in a PnP-way, making it wait for the hardware to be plugged in (which apparently will never happen Smile | :)
If you install the driver by hand, it works instantly...

Suggestions, anyone?!

Kim

P.S. I'd be happy if someone had some information or sample code on how to use the SetupAPI (SetupDIxxx functions) to install NEW HARDWARE. Maybe that would solve my problem. Looking at the docs it seems like you can only install/update drivers with it...

-- modified at 6:28 Tuesday 28th February, 2006
QuestionLink Error LNK1209 Pin
dahill27-Feb-06 13:16
dahill27-Feb-06 13:16 
AnswerRe: Link Error LNK1209 Pin
PJ Arends27-Feb-06 15:24
professionalPJ Arends27-Feb-06 15:24 
AnswerRe: Link Error LNK1209 Pin
mbue27-Feb-06 15:54
mbue27-Feb-06 15:54 
AnswerRe: Link Error LNK1209 Pin
Vinaya27-Feb-06 18:20
Vinaya27-Feb-06 18:20 
QuestionRe: Link Error LNK1209 Pin
dahill28-Feb-06 8:21
dahill28-Feb-06 8:21 
NewsRe: Link Error LNK1209 Pin
dahill28-Feb-06 11:36
dahill28-Feb-06 11:36 
AnswerRe: Link Error LNK1209 Pin
dahill1-Mar-06 7:57
dahill1-Mar-06 7:57 
QuestionBitmap in a dialog Pin
69 Bay27-Feb-06 12:35
69 Bay27-Feb-06 12:35 
AnswerRe: Bitmap in a dialog Pin
Christian Graus27-Feb-06 14:19
protectorChristian Graus27-Feb-06 14:19 
GeneralRe: Bitmap in a dialog Pin
69 Bay28-Feb-06 0:04
69 Bay28-Feb-06 0:04 
GeneralRe: Bitmap in a dialog Pin
Christian Graus28-Feb-06 10:54
protectorChristian Graus28-Feb-06 10:54 
GeneralRe: Bitmap in a dialog Pin
69 Bay1-Mar-06 8:11
69 Bay1-Mar-06 8:11 
AnswerRe: Bitmap in a dialog Pin
Hamid_RT27-Feb-06 17:32
Hamid_RT27-Feb-06 17:32 
QuestionFrameless MDI Child Pin
garaber27-Feb-06 10:10
garaber27-Feb-06 10:10 
AnswerRe: Frameless MDI Child Pin
mbue27-Feb-06 16:00
mbue27-Feb-06 16:00 
Questionindex problem - please help... Pin
SWDevil27-Feb-06 10:07
SWDevil27-Feb-06 10:07 
QuestionStandard c++ : borders and console size Pin
Peter Charlesworth27-Feb-06 8:22
Peter Charlesworth27-Feb-06 8:22 

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.