Click here to Skip to main content
15,569,644 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCompilation Error!!! undeclared variable :-( Pin
param_joshi13-Oct-08 23:10
param_joshi13-Oct-08 23:10 
AnswerRe: Compilation Error!!! undeclared variable :-( Pin
Saurabh.Garg14-Oct-08 0:42
Saurabh.Garg14-Oct-08 0:42 
AnswerRe: Compilation Error!!! undeclared variable :-( Pin
David Crow14-Oct-08 4:32
David Crow14-Oct-08 4:32 
GeneralRe: Compilation Error!!! undeclared variable :-( Pin
Jason Hamilton14-Oct-08 5:38
Jason Hamilton14-Oct-08 5:38 
QuestionGetPrinter function fails to retrieves the printer information. [modified] Pin
Gokul_md13-Oct-08 23:02
Gokul_md13-Oct-08 23:02 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
CPallini14-Oct-08 0:03
mveCPallini14-Oct-08 0:03 
AnswerRe: GetPrinter function fails to retrieves the printer information. Pin
Gokul_md14-Oct-08 0:51
Gokul_md14-Oct-08 0:51 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
CPallini14-Oct-08 2:00
mveCPallini14-Oct-08 2: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 4:47
David Crow14-Oct-08 4:47 
GeneralRe: GetPrinter function fails to retrieves the printer information. Pin
Gokul_md14-Oct-08 7:55
Gokul_md14-Oct-08 7:55 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
David Crow14-Oct-08 8:42
David Crow14-Oct-08 8:42 
AnswerRe: GetPrinter function fails to retrieves the printer information. Pin
Gokul_md14-Oct-08 20:17
Gokul_md14-Oct-08 20:17 
QuestionRe: GetPrinter function fails to retrieves the printer information. Pin
David Crow15-Oct-08 4:18
David Crow15-Oct-08 4:18 
QuestionVisual c++ runtime error in dotnet Pin
balu1234513-Oct-08 22:43
balu1234513-Oct-08 22:43 
AnswerRe: Visual c++ runtime error in dotnet Pin
CPallini13-Oct-08 23:37
mveCPallini13-Oct-08 23:37 
GeneralRe: Visual c++ runtime error in dotnet Pin
balu1234514-Oct-08 7:47
balu1234514-Oct-08 7:47 
GeneralRe: Visual c++ runtime error in dotnet Pin
Hamid_RT14-Oct-08 9:26
Hamid_RT14-Oct-08 9:26 
Questionplease guide content structural file SCS. Spoolfile in Iseries system. thanks Pin
aa_zz13-Oct-08 22:12
aa_zz13-Oct-08 22:12 
QuestionHow interact a digital ink pad when it connected to a pc Pin
tanmay.kol13-Oct-08 21:52
tanmay.kol13-Oct-08 21:52 
QuestionEdit Registry values Pin
MsmVc13-Oct-08 21:43
MsmVc13-Oct-08 21:43 
AnswerRe: Edit Registry values Pin
MsmVc13-Oct-08 21:59
MsmVc13-Oct-08 21:59 
GeneralRe: Edit Registry values Pin
Hamid_RT13-Oct-08 22:17
Hamid_RT13-Oct-08 22:17 
GeneralRe: Edit Registry values Pin
Rajesh R Subramanian13-Oct-08 22:18
professionalRajesh R Subramanian13-Oct-08 22:18 
GeneralRe: Edit Registry values Pin
MsmVc13-Oct-08 22:55
MsmVc13-Oct-08 22:55 
GeneralRe: Edit Registry values Pin
CPallini14-Oct-08 2:38
mveCPallini14-Oct-08 2: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.