Click here to Skip to main content
15,906,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Event handling right click on dialog? Pin
James R. Twine9-Feb-07 1:45
James R. Twine9-Feb-07 1:45 
AnswerRe: Event handling right click on dialog? Pin
Hamid_RT9-Feb-07 5:30
Hamid_RT9-Feb-07 5:30 
QuestionUsing GDI+ to draw a Stroke effect on text. Pin
Bartosz Bien8-Feb-07 23:50
Bartosz Bien8-Feb-07 23:50 
QuestionWindows service Pin
david bagaturia8-Feb-07 23:38
david bagaturia8-Feb-07 23:38 
Questionparameter value lost after control goes in body why? Pin
amitmistry_petlad 8-Feb-07 22:41
amitmistry_petlad 8-Feb-07 22:41 
AnswerRe: parameter value lost after control goes in body why? Pin
Cedric Moonen8-Feb-07 22:46
Cedric Moonen8-Feb-07 22:46 
GeneralRe: parameter value lost after control goes in body why? Pin
amitmistry_petlad 8-Feb-07 23:59
amitmistry_petlad 8-Feb-07 23:59 
QuestionObtaining the Parallel Port Address Pin
69 Bay8-Feb-07 22:37
69 Bay8-Feb-07 22:37 
AnswerRe: Obtaining the Parallel Port Address Pin
Roger Stoltz8-Feb-07 23:09
Roger Stoltz8-Feb-07 23:09 
GeneralRe: Obtaining the Parallel Port Address Pin
69 Bay9-Feb-07 1:00
69 Bay9-Feb-07 1:00 
GeneralRe: Obtaining the Parallel Port Address Pin
Roger Stoltz9-Feb-07 4:09
Roger Stoltz9-Feb-07 4:09 
GeneralRe: Obtaining the Parallel Port Address Pin
69 Bay9-Feb-07 5:24
69 Bay9-Feb-07 5:24 
GeneralRe: Obtaining the Parallel Port Address Pin
Roger Stoltz10-Feb-07 9:31
Roger Stoltz10-Feb-07 9:31 
69 Bay wrote:
The user does not have the possibility of selecting either LPT1 or 2.


So you're just assuming that there's only one parallel port, or you try them out one at a time?

I don't think I can help you, but you might find the article below handy. It describes how to access kernel mode address space from user mode. If you use that technique you should be able to read 0x00000408, i.e. the I/O port address of LPT1.
http://www.codeproject.com/system/soviet_kernel_hack.asp[^]

I still recommend that you use the ordinary driver for the parallel port. That way the I/O port mapping would be transparent, you would simply connect to LPT1.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote

QuestionVirtual methods Pin
Waldermort8-Feb-07 22:34
Waldermort8-Feb-07 22:34 
AnswerRe: Virtual methods Pin
Cedric Moonen8-Feb-07 22:39
Cedric Moonen8-Feb-07 22:39 
GeneralRe: Virtual methods Pin
Waldermort9-Feb-07 1:44
Waldermort9-Feb-07 1:44 
QuestionGet IP Address & system name in C Pin
Karismatic8-Feb-07 22:14
Karismatic8-Feb-07 22:14 
AnswerRe: Get IP Address & system name in C Pin
Sethuraman.K9-Feb-07 1:52
Sethuraman.K9-Feb-07 1:52 
QuestionRe: Get IP Address & system name in C Pin
Mark Salsbery9-Feb-07 6:02
Mark Salsbery9-Feb-07 6:02 
AnswerRe: Get IP Address & system name in C Pin
malaugh9-Feb-07 9:06
malaugh9-Feb-07 9:06 
QuestionDisplaying static control on title bar of a dialog Pin
Q2A8-Feb-07 21:57
Q2A8-Feb-07 21:57 
AnswerRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen8-Feb-07 22:20
Cedric Moonen8-Feb-07 22:20 
GeneralRe: Displaying static control on title bar of a dialog Pin
Q2A8-Feb-07 22:27
Q2A8-Feb-07 22:27 
GeneralRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen8-Feb-07 22:50
Cedric Moonen8-Feb-07 22:50 
GeneralRe: Displaying static control on title bar of a dialog Pin
Q2A9-Feb-07 1:20
Q2A9-Feb-07 1:20 

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.