Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
dipuks8-Dec-09 6:18
dipuks8-Dec-09 6:18 
GeneralRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
«_Superman_»8-Dec-09 7:06
professional«_Superman_»8-Dec-09 7:06 
GeneralRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
dipuks8-Dec-09 8:21
dipuks8-Dec-09 8:21 
GeneralRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
PJ Arends8-Dec-09 10:27
professionalPJ Arends8-Dec-09 10:27 
AnswerRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
krmed8-Dec-09 5:43
krmed8-Dec-09 5:43 
GeneralRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
dipuks8-Dec-09 5:55
dipuks8-Dec-09 5:55 
GeneralRe: How to keep contents of a TextBox in black when the TextBox is disabled? Pin
krmed8-Dec-09 9:17
krmed8-Dec-09 9:17 
Question[solved] PCI Tv Tuner IR Sensor Visual C++ Pin
vladbalmos7-Dec-09 23:58
vladbalmos7-Dec-09 23:58 
Hi,

I hope i posted in the right message board.

Here's the thing.

I recently bought a PCI Tv Tuner with a remote control (AverMedia Hybrid 007) and i want to use that remote control to control my PC (maybe create a basic media center application using media players that support slave mode, something like mplayer).

The way i see it i have two options:

1. Using the existing driver that came with the card
2. Writing a new driver that will interface only with the card's ir sensor

And now my questions / troubles:
Using method 1:
Is the driver "generic" enough so i can use it in another application, or is it binded to the application that came with the pci card. I know this question is kind of stupid but i don't know how else to put it?

How can i access the card's driver in Visual C++. I have read that getting a device driver handle is done by using the CreateFile() function, but i can't find the device name (something resembling "\\\\.\\Driver"). Do you know a way to find it out. I don't really need code, but some pointers to existing documentation. Anything will be helpfull.

Using method 2:
To be able to write a driver for the device, do i need to know the hardware specifications of it? If yes, can i use some sort of probing to access it's features?

I come from a web development background, but i have had some experience with C/C++ and i'm a quick learner.

I don't need existing application to resolve my problem because i want to learn how to do it myself; and yes i have searched google but all i got was documentation regarding pci drivers in linux and some vague tutorials regarding pci drivers in windows.

Any kind of help will be appreciated.

Thanks in advance,
Vlad Balmos

modified on Wednesday, December 9, 2009 7:38 AM

AnswerRe: PCI Tv Tuner IR Sensor Visual C++ Pin
«_Superman_»8-Dec-09 4:22
professional«_Superman_»8-Dec-09 4:22 
GeneralRe: PCI Tv Tuner IR Sensor Visual C++ Pin
vladbalmos9-Dec-09 1:49
vladbalmos9-Dec-09 1:49 
QuestionRun Powerpoint viewer in assigned screen location Pin
Cool_Dev7-Dec-09 23:45
Cool_Dev7-Dec-09 23:45 
AnswerRe: Run Powerpoint viewer in assigned screen location Pin
Iain Clarke, Warrior Programmer8-Dec-09 4:11
Iain Clarke, Warrior Programmer8-Dec-09 4:11 
GeneralRe: Run Powerpoint viewer in assigned screen location Pin
chetto7731-Mar-10 13:54
chetto7731-Mar-10 13:54 
GeneralRe: Run Powerpoint viewer in assigned screen location Pin
Iain Clarke, Warrior Programmer31-Mar-10 21:11
Iain Clarke, Warrior Programmer31-Mar-10 21:11 
Questionvisual studio 2008 form designer - where did all the controls go? Pin
Sauce!7-Dec-09 22:19
Sauce!7-Dec-09 22:19 
AnswerRe: visual studio 2008 form designer - where did all the controls go? Pin
Sauce!9-Dec-09 14:45
Sauce!9-Dec-09 14:45 
QuestionHow to Debug a DLL written in VC 6.0 in ASP.NET ( MSVS 2008 ) application? Pin
yudhisthira7-Dec-09 19:30
yudhisthira7-Dec-09 19:30 
AnswerRe: How to Debug a DLL written in VC 6.0 in ASP.NET ( MSVS 2008 ) application? Pin
Cedric Moonen7-Dec-09 21:36
Cedric Moonen7-Dec-09 21:36 
QuestionCan we open two Modal Dialogs at Same Time? Pin
002comp7-Dec-09 19:18
002comp7-Dec-09 19:18 
AnswerRe: Can we open two Modal Dialogs at Same Time? Pin
Cedric Moonen7-Dec-09 20:29
Cedric Moonen7-Dec-09 20:29 
AnswerRe: Can we open two Modal Dialogs at Same Time? Pin
Rajesh R Subramanian8-Dec-09 1:35
professionalRajesh R Subramanian8-Dec-09 1:35 
AnswerRe: Can we open two Modal Dialogs at Same Time? Pin
Richard MacCutchan8-Dec-09 2:03
mveRichard MacCutchan8-Dec-09 2:03 
AnswerRe: Can we open two Modal Dialogs at Same Time? Pin
dxlee8-Dec-09 4:10
dxlee8-Dec-09 4:10 
Question[Message Deleted] Pin
Benjamin Bruno7-Dec-09 18:15
Benjamin Bruno7-Dec-09 18:15 
AnswerRe: serialization Pin
Adam Roderick J7-Dec-09 18:24
Adam Roderick J7-Dec-09 18:24 

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.