Click here to Skip to main content
15,907,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is it any DLL problem? Pin
KarstenK22-Aug-08 1:56
mveKarstenK22-Aug-08 1:56 
GeneralRe: Is it any DLL problem? Pin
krishna Vuppala22-Aug-08 2:03
krishna Vuppala22-Aug-08 2:03 
QuestionRe: Is it any DLL problem? Pin
Perspx22-Aug-08 2:26
Perspx22-Aug-08 2:26 
AnswerRe: Is it any DLL problem? Pin
krishna Vuppala22-Aug-08 2:36
krishna Vuppala22-Aug-08 2:36 
QuestionWhy "OpenPrinter" API fails when open a network printer? Pin
qujun200422-Aug-08 0:31
qujun200422-Aug-08 0:31 
GeneralRe: Why "OpenPrinter" API fails when open a network printer? Pin
Matthew Faithfull22-Aug-08 1:30
Matthew Faithfull22-Aug-08 1:30 
GeneralRe: Why "OpenPrinter" API fails when open a network printer? Pin
qujun200422-Aug-08 1:37
qujun200422-Aug-08 1:37 
AnswerRe: Why "OpenPrinter" API fails when open a network printer? Pin
vikas amin22-Aug-08 4:49
vikas amin22-Aug-08 4:49 
Your access to the network printers are different then local ones .

Set the pDesiredAccess to PRINTER_ACCESS_USE
or try this
BOOL bRet = OpenPrinter(_T("\\\\172.xx.xxx.xx\\HP LaserJet 1020"), &hPrinter , NULL );


http://msdn.microsoft.com/en-us/library/cc211063.aspx[^]

Vikas Amin

My First Article on CP" Virtual Serial Port "[^]
modified on Thursday, July 24, 2008 5:33 PM

GeneralRe: Why "OpenPrinter" API fails when open a network printer? Pin
qujun200424-Aug-08 15:42
qujun200424-Aug-08 15:42 
GeneralRe: Why "OpenPrinter" API fails when open a network printer? Pin
vikas amin4-Sep-08 12:56
vikas amin4-Sep-08 12:56 
GeneralRe: Why "OpenPrinter" API fails when open a network printer? Pin
Selçuk GÜRAL11-Dec-17 20:57
Selçuk GÜRAL11-Dec-17 20:57 
QuestionHow to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
savitri21-Aug-08 23:43
savitri21-Aug-08 23:43 
AnswerRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
Hamid_RT21-Aug-08 23:54
Hamid_RT21-Aug-08 23:54 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
CPallini22-Aug-08 0:00
mveCPallini22-Aug-08 0:00 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
Hamid_RT22-Aug-08 0:21
Hamid_RT22-Aug-08 0:21 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? [modified] Pin
CPallini22-Aug-08 0:31
mveCPallini22-Aug-08 0:31 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
Hamid_RT22-Aug-08 0:59
Hamid_RT22-Aug-08 0:59 
JokeRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
CPallini21-Aug-08 23:58
mveCPallini21-Aug-08 23:58 
QuestionRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
savitri22-Aug-08 0:27
savitri22-Aug-08 0:27 
AnswerRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
_AnsHUMAN_ 22-Aug-08 0:32
_AnsHUMAN_ 22-Aug-08 0:32 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
savitri22-Aug-08 0:51
savitri22-Aug-08 0:51 
AnswerRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? [modified] Pin
SandipG 22-Aug-08 1:46
SandipG 22-Aug-08 1:46 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
savitri22-Aug-08 2:07
savitri22-Aug-08 2:07 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? [modified] Pin
SandipG 22-Aug-08 2:11
SandipG 22-Aug-08 2:11 
GeneralRe: How to import VB Dll into VC++ Program and How to use functions from VB dll?? Pin
savitri22-Aug-08 2:29
savitri22-Aug-08 2:29 

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.