Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCompilation Error!!! undeclared variable :-( Pin
param_joshi13-Oct-08 22:10
param_joshi13-Oct-08 22:10 
AnswerRe: Compilation Error!!! undeclared variable :-( Pin
Saurabh.Garg13-Oct-08 23:42
Saurabh.Garg13-Oct-08 23:42 
AnswerRe: Compilation Error!!! undeclared variable :-( Pin
David Crow14-Oct-08 3:32
David Crow14-Oct-08 3:32 
GeneralRe: Compilation Error!!! undeclared variable :-( Pin
Jason Hamilton14-Oct-08 4:38
Jason Hamilton14-Oct-08 4:38 
QuestionGetPrinter function fails to retrieves the printer information. [modified] Pin
Gokul_md13-Oct-08 22:02
Gokul_md13-Oct-08 22:02 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
CPallini13-Oct-08 23:03
mveCPallini13-Oct-08 23:03 
AnswerRe: GetPrinter function fails to retrieves the printer information. Pin
Gokul_md13-Oct-08 23:51
Gokul_md13-Oct-08 23:51 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
CPallini14-Oct-08 1:00
mveCPallini14-Oct-08 1:00 
I would check the GetPrinter return value, and call GetLastError only when it fails.

Are you aware that (MSDN [^]):

Remarks
Security Alert The pDevMode member in the PRINTER_INFO_2, PRINTER_INFO_8, and PRINTER_INFO_9 structures can be NULL.
When this happens, the printer is unusable until the driver is reinstalled successfully.

?
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

AnswerRe: GetPrinter function fails to retrieves the printer information. Pin
David Crow14-Oct-08 3:47
David Crow14-Oct-08 3:47 
GeneralRe: GetPrinter function fails to retrieves the printer information. Pin
Gokul_md14-Oct-08 6:55
Gokul_md14-Oct-08 6:55 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
David Crow14-Oct-08 7:42
David Crow14-Oct-08 7:42 
AnswerRe: GetPrinter function fails to retrieves the printer information. Pin
Gokul_md14-Oct-08 19:17
Gokul_md14-Oct-08 19:17 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
David Crow15-Oct-08 3:18
David Crow15-Oct-08 3:18 
QuestionVisual c++ runtime error in dotnet Pin
balu1234513-Oct-08 21:43
balu1234513-Oct-08 21:43 
AnswerRe: Visual c++ runtime error in dotnet Pin
CPallini13-Oct-08 22:37
mveCPallini13-Oct-08 22:37 
GeneralRe: Visual c++ runtime error in dotnet Pin
balu1234514-Oct-08 6:47
balu1234514-Oct-08 6:47 
GeneralRe: Visual c++ runtime error in dotnet Pin
Hamid_RT14-Oct-08 8:26
Hamid_RT14-Oct-08 8:26 
Questionplease guide content structural file SCS. Spoolfile in Iseries system. thanks Pin
aa_zz13-Oct-08 21:12
aa_zz13-Oct-08 21:12 
QuestionHow interact a digital ink pad when it connected to a pc Pin
tanmay.kol13-Oct-08 20:52
tanmay.kol13-Oct-08 20:52 
QuestionEdit Registry values Pin
MsmVc13-Oct-08 20:43
MsmVc13-Oct-08 20:43 
AnswerRe: Edit Registry values Pin
MsmVc13-Oct-08 20:59
MsmVc13-Oct-08 20:59 
GeneralRe: Edit Registry values Pin
Hamid_RT13-Oct-08 21:17
Hamid_RT13-Oct-08 21:17 
GeneralRe: Edit Registry values Pin
Rajesh R Subramanian13-Oct-08 21:18
professionalRajesh R Subramanian13-Oct-08 21:18 
GeneralRe: Edit Registry values Pin
MsmVc13-Oct-08 21:55
MsmVc13-Oct-08 21:55 
GeneralRe: Edit Registry values Pin
CPallini14-Oct-08 1:38
mveCPallini14-Oct-08 1:38 

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.