Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: employee pay calculator Pin
Nelek3-Jun-08 21:34
protectorNelek3-Jun-08 21:34 
GeneralRe: employee pay calculator [modified] Pin
Pathetic28-May-08 12:07
Pathetic28-May-08 12:07 
GeneralRe: employee pay calculator Pin
Nelek1-Jun-08 7:38
protectorNelek1-Jun-08 7:38 
GeneralRe: employee pay calculator [modified] Pin
Pathetic28-May-08 12:29
Pathetic28-May-08 12:29 
GeneralRe: employee pay calculator Pin
Nelek1-Jun-08 7:28
protectorNelek1-Jun-08 7:28 
GeneralRe: employee pay calculator Pin
Pathetic7-Jun-08 6:18
Pathetic7-Jun-08 6:18 
QuestionMatch USB Printer to friendly name Pin
gbeez27-May-08 9:30
gbeez27-May-08 9:30 
AnswerRe: Match USB Printer to friendly name Pin
gbeez28-May-08 2:59
gbeez28-May-08 2:59 
no reply on this one huh? Yeah, it seems to be a toughie...well just wanted to add some info I think I left out: I'm using file-based access to the port to achieve the communication. I call SetupDiGetDeviceInterfaceDetail to get the device path, and use ReadFile and WriteFile from there on.

So the problem is getting some piece of information from the SetupDi functions (or maybe CM_ functions) that I can match with something that I get from the spooler functions (OpenPrinter, GetPrinter, etc.) The SetupDi functions only give me manufacturer name, model, and serial #.

As I tried to say above, the options as I see them are:
1 retrieve serial # from spooler functions (I can get it from the other side)
2 match virtual USB port in spooler (ie "USB0001") to actual port (maybe "hub#:port#", but any format will do) <-seems more likely option

Just wanted to make sure I was being as clear as possible.
Thanks!
GeneralRe: Match USB Printer to friendly name Pin
gbeez10-Jun-08 12:04
gbeez10-Jun-08 12:04 
QuestionTracking Download Programatically Pin
Knight Rider27-May-08 8:39
Knight Rider27-May-08 8:39 
QuestionRe: Tracking Download Programatically Pin
David Crow27-May-08 9:43
David Crow27-May-08 9:43 
AnswerRe: Tracking Download Programatically Pin
Knight Rider27-May-08 11:25
Knight Rider27-May-08 11:25 
QuestionRe: Tracking Download Programatically Pin
David Crow27-May-08 15:55
David Crow27-May-08 15:55 
AnswerRe: Tracking Download Programatically Pin
led mike27-May-08 10:57
led mike27-May-08 10:57 
QuestionDisk Info Pin
john563227-May-08 7:01
john563227-May-08 7:01 
AnswerRe: Disk Info Pin
Jijo.Raj27-May-08 7:19
Jijo.Raj27-May-08 7:19 
GeneralRe: Disk Info Pin
Xeqtr27-May-08 8:27
Xeqtr27-May-08 8:27 
AnswerRe: Disk Info Pin
SandipG 27-May-08 18:37
SandipG 27-May-08 18:37 
GeneralRe: Disk Info Pin
Xeqtr27-May-08 22:55
Xeqtr27-May-08 22:55 
QuestionWindows upgradation problem Pin
problemfixer27-May-08 6:52
problemfixer27-May-08 6:52 
QuestionRe: Windows upgradation problem Pin
David Crow27-May-08 6:54
David Crow27-May-08 6:54 
AnswerRe: Windows upgradation problem Pin
led mike27-May-08 8:27
led mike27-May-08 8:27 
QuestionCursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
Robert Palma Jr.27-May-08 6:01
Robert Palma Jr.27-May-08 6:01 
QuestionRe: Cursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
David Crow27-May-08 6:53
David Crow27-May-08 6:53 
AnswerRe: Cursor & mouse freeze in Visual C++ 6.0, Win2kPro Pin
Robert Palma Jr.27-May-08 8:59
Robert Palma Jr.27-May-08 8:59 

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.