Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error LNK 2001 in visual C++ 6.0 Pin
sindhumahe31-Mar-10 18:14
sindhumahe31-Mar-10 18:14 
GeneralRe: error LNK 2001 in visual C++ 6.0 Pin
sindhumahe30-Mar-10 23:15
sindhumahe30-Mar-10 23:15 
GeneralRe: error LNK 2001 in visual C++ 6.0 Pin
David Crow1-Apr-10 2:51
David Crow1-Apr-10 2:51 
GeneralRe: error LNK 2001 in visual C++ 6.0 Pin
sindhumahe30-Mar-10 2:54
sindhumahe30-Mar-10 2:54 
GeneralRe: error LNK 2001 in visual C++ 6.0 Pin
David Crow1-Apr-10 2:52
David Crow1-Apr-10 2:52 
AnswerRe: error LNK 2001 in visual C++ 6.0 Pin
David Crow30-Mar-10 2:46
David Crow30-Mar-10 2:46 
AnswerRe: error LNK 2001 in visual C++ 6.0 Pin
Randor 30-Mar-10 3:56
professional Randor 30-Mar-10 3:56 
Question::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 20:14
hanq_3891013029-Mar-10 20:14 
Hi guys,

I have a "display driver" program which I install it successfully on all kinds of OS.
Then I call "::CreateDC()" to create a corresponding device context in another program, it
works fine in most OS except in win2K.

I mean, "::CreateDC()" succeeds in "XP, Vista, Win7", but fails in "Win2K"(returns NULL and
GetLastError() is ERROR_INVALID_PRINTER_NAME(1801)).

I googled it and did find some threads, but all are vague.
However, I figure it's kinda "win2k OS" issue. I think function implementation of "CreateDC" in "win2k" has imperfection.

Does anyone happen to encounter this same problem? Any workaround with it?

Any replys are appreciated Big Grin | :-D
AnswerRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
Eugen Podsypalnikov29-Mar-10 20:22
Eugen Podsypalnikov29-Mar-10 20:22 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 21:03
hanq_3891013029-Mar-10 21:03 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
Eugen Podsypalnikov29-Mar-10 21:29
Eugen Podsypalnikov29-Mar-10 21:29 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 21:48
hanq_3891013029-Mar-10 21:48 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
Eugen Podsypalnikov29-Mar-10 21:53
Eugen Podsypalnikov29-Mar-10 21:53 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 22:04
hanq_3891013029-Mar-10 22:04 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
Eugen Podsypalnikov29-Mar-10 22:10
Eugen Podsypalnikov29-Mar-10 22:10 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 22:25
hanq_3891013029-Mar-10 22:25 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) [modified] Pin
Eugen Podsypalnikov29-Mar-10 22:49
Eugen Podsypalnikov29-Mar-10 22:49 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 23:03
hanq_3891013029-Mar-10 23:03 
GeneralRe: ::CreateDC() returns NULL with errorcode ERROR_INVALID_PRINTER_NAME(1801) Pin
hanq_3891013029-Mar-10 22:30
hanq_3891013029-Mar-10 22:30 
QuestionHow to get IP addresses of all PC's connected in LAN? Pin
Nilesh Hamane29-Mar-10 19:21
Nilesh Hamane29-Mar-10 19:21 
AnswerRe: How to get IP addresses of all PC's connected in LAN? Pin
Adam Roderick J29-Mar-10 19:52
Adam Roderick J29-Mar-10 19:52 
AnswerRe: How to get IP addresses of all PC's connected in LAN? Pin
David Crow30-Mar-10 2:51
David Crow30-Mar-10 2:51 
Questioncan not use VK_BACK as i wish Pin
dung nam29-Mar-10 17:02
dung nam29-Mar-10 17:02 
QuestionRe: can not use VK_BACK as i wish Pin
KingsGambit29-Mar-10 18:17
KingsGambit29-Mar-10 18:17 
AnswerRe: can not use VK_BACK as i wish Pin
Adam Roderick J29-Mar-10 18:42
Adam Roderick J29-Mar-10 18:42 

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.