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

C / C++ / MFC

 
GeneralLocking and Unlocking LogFile Pin
sharanu20-Feb-08 6:32
sharanu20-Feb-08 6:32 
GeneralRe: Locking and Unlocking LogFile Pin
Mark Salsbery20-Feb-08 6:52
Mark Salsbery20-Feb-08 6:52 
GeneralRe: Locking and Unlocking LogFile Pin
sharanu20-Feb-08 20:16
sharanu20-Feb-08 20:16 
GeneralRe: Locking and Unlocking LogFile Pin
Mark Salsbery21-Feb-08 7:36
Mark Salsbery21-Feb-08 7:36 
GeneralRe: Locking and Unlocking LogFile Pin
James R. Twine20-Feb-08 7:12
James R. Twine20-Feb-08 7:12 
QuestionRe: Locking and Unlocking LogFile Pin
David Crow20-Feb-08 7:37
David Crow20-Feb-08 7:37 
QuestionHow to get a local printer status? Pin
Skywalker200820-Feb-08 5:16
Skywalker200820-Feb-08 5:16 
AnswerRe: How to get a local printer status? Pin
David Crow20-Feb-08 5:31
David Crow20-Feb-08 5:31 
Skywalker2008 wrote:
But the "Status" field always returns 0


Odd, since none of the PRINTER_STATUS_xxx values resolves to 0. Are you sure that GetPrinter() is returning a non-zero value?

You might also consider using the Win32_Printer WMI class.

"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: How to get a local printer status? Pin
Skywalker200821-Feb-08 6:09
Skywalker200821-Feb-08 6:09 
GeneralInstall which windows compoents before install Visual Studio 2003 Pin
akira3220-Feb-08 5:06
akira3220-Feb-08 5:06 
GeneralRe: Install which windows compoents before install Visual Studio 2003 Pin
Mark Salsbery20-Feb-08 5:41
Mark Salsbery20-Feb-08 5:41 
QuestionCannot get reference to Locked screen when the system is in RDP state Pin
Abdul_khaliq_20-Feb-08 4:42
Abdul_khaliq_20-Feb-08 4:42 
GeneralRe: Cannot get reference to Locked screen when the system is in RDP state Pin
James R. Twine20-Feb-08 7:21
James R. Twine20-Feb-08 7:21 
QuestionRe: Cannot get reference to Locked screen when the system is in RDP state Pin
Abdul_khaliq_20-Feb-08 19:49
Abdul_khaliq_20-Feb-08 19:49 
QuestionCompiles with VC6. Is this still available? Pin
Ylno20-Feb-08 4:14
Ylno20-Feb-08 4:14 
AnswerRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 4:34
mveCPallini20-Feb-08 4:34 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 5:14
Ylno20-Feb-08 5:14 
QuestionRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 7:32
mveCPallini20-Feb-08 7:32 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 8:54
Ylno20-Feb-08 8:54 
GeneralRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 9:49
mveCPallini20-Feb-08 9:49 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 10:51
Ylno20-Feb-08 10:51 
AnswerRe: Compiles with VC6. Is this still available? Pin
David Crow20-Feb-08 5:35
David Crow20-Feb-08 5:35 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 5:49
Ylno20-Feb-08 5:49 
AnswerRe: Compiles with VC6. Is this still available? Pin
Chris Losinger20-Feb-08 9:04
professionalChris Losinger20-Feb-08 9:04 
Question[Message Deleted] Pin
1dayprogrammer20-Feb-08 4:08
1dayprogrammer20-Feb-08 4:08 

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.