Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Maximum length of string?? Pin
xxhimanshu17-Nov-03 20:05
xxhimanshu17-Nov-03 20:05 
GeneralDeveloping for Pocket PC Pin
georgiek5017-Nov-03 18:58
georgiek5017-Nov-03 18:58 
GeneralRe: Developing for Pocket PC Pin
Michael P Butler17-Nov-03 22:42
Michael P Butler17-Nov-03 22:42 
GeneralRe: Developing for Pocket PC Pin
georgiek5017-Nov-03 22:48
georgiek5017-Nov-03 22:48 
QuestionCMap Efficiency??? Pin
Uma Mahes17-Nov-03 18:04
Uma Mahes17-Nov-03 18:04 
AnswerRe: CMap Efficiency??? Pin
Brian Shifrin18-Nov-03 0:03
Brian Shifrin18-Nov-03 0:03 
Questionprinter help? Pin
murali_utr17-Nov-03 18:01
murali_utr17-Nov-03 18:01 
AnswerRe: printer help? Pin
Brian Shifrin17-Nov-03 23:43
Brian Shifrin17-Nov-03 23:43 
There aren't any good way to get printer status in windows with most print drivers....

1) First 2k, and XP does not poll printer status unless you submit a job.
2) GetPrinter return status success even if printer turned off
3) Let's say you submited job... and do something like GetJob....
- Error reported after ~60 seconds
- Most print drivers will only report "printer out of paper" as universal error, printer offline / opened / low inc -> "out of paper".
- Now let's say spooler returned status printed and job removed from the job queue. It really means nothing. Printer buffers are so large these days your entire job could be spooled to printer buffer before printer even tried to print.
- You detected somewhat error in the print queue, and decided to cancel the job... it takes about 90 seconds to cancel print job... If during those 90 seconds error condition is fixed, job will be printed anyway...

I wrote some code in the past for "secured & guaranted" check printing and it was a pain ... Had to exclude number of printers ( badly written drivers )...

Also AddMonitor is helpfull but only for local printing....



QuestionHow 2 send to correct ClientSocket with ServerSocket? Pin
G.Milos17-Nov-03 16:26
sussG.Milos17-Nov-03 16:26 
Generalquick statusbar question Pin
LOSTTWARE.com17-Nov-03 16:19
LOSTTWARE.com17-Nov-03 16:19 
GeneralRe: quick statusbar question Pin
LOSTTWARE.com17-Nov-03 19:15
LOSTTWARE.com17-Nov-03 19:15 
GeneralRe: quick statusbar question Pin
Zhuofei Wang17-Nov-03 19:28
Zhuofei Wang17-Nov-03 19:28 
GeneralRe: quick statusbar question Pin
LOSTTWARE.com18-Nov-03 15:18
LOSTTWARE.com18-Nov-03 15:18 
GeneralFile open and close Pin
alex.barylski17-Nov-03 16:15
alex.barylski17-Nov-03 16:15 
GeneralRe: File open and close Pin
Prakash Nadar17-Nov-03 16:40
Prakash Nadar17-Nov-03 16:40 
GeneralRe: File open and close Pin
alex.barylski18-Nov-03 4:54
alex.barylski18-Nov-03 4:54 
GeneralRe: File open and close Pin
Peter Molnar18-Nov-03 14:39
Peter Molnar18-Nov-03 14:39 
GeneralRe: File open and close Pin
georgiek5017-Nov-03 23:09
georgiek5017-Nov-03 23:09 
GeneralQuick OnInitDialog q'n Pin
el davo17-Nov-03 15:28
el davo17-Nov-03 15:28 
GeneralRe: Quick OnInitDialog q'n Pin
Prakash Nadar17-Nov-03 16:02
Prakash Nadar17-Nov-03 16:02 
GeneralRe: Quick OnInitDialog q'n Pin
Michael Dunn17-Nov-03 20:04
sitebuilderMichael Dunn17-Nov-03 20:04 
QuestionDoes it have some memory leak? Pin
Joise17-Nov-03 14:56
Joise17-Nov-03 14:56 
AnswerRe: Does it have some memory leak? Pin
Dave Bryant17-Nov-03 15:07
Dave Bryant17-Nov-03 15:07 
GeneralRe: Does it have some memory leak? Pin
Joise17-Nov-03 15:13
Joise17-Nov-03 15:13 
AnswerRe: Does it have some memory leak? Pin
Brian Shifrin17-Nov-03 15:10
Brian Shifrin17-Nov-03 15:10 

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.