Click here to Skip to main content
15,909,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Save notepad file Pin
Hamid_RT9-Feb-07 5:37
Hamid_RT9-Feb-07 5:37 
QuestionAbsolute path of %systemroot% and %userprofile% Pin
Sonani Prakash9-Feb-07 1:01
Sonani Prakash9-Feb-07 1:01 
AnswerRe: Absolute path of %systemroot% and %userprofile% Pin
Naveen9-Feb-07 1:34
Naveen9-Feb-07 1:34 
GeneralRe: Absolute path of %systemroot% and %userprofile% Pin
Sonani Prakash9-Feb-07 1:59
Sonani Prakash9-Feb-07 1:59 
GeneralRe: Absolute path of %systemroot% and %userprofile% Pin
prasad_som9-Feb-07 2:10
prasad_som9-Feb-07 2:10 
JokeRe: Absolute path of %systemroot% and %userprofile% Pin
Hamid_RT9-Feb-07 5:33
Hamid_RT9-Feb-07 5:33 
GeneralRe: Absolute path of %systemroot% and %userprofile% Pin
prasad_som9-Feb-07 6:24
prasad_som9-Feb-07 6:24 
GeneralRe: Absolute path of %systemroot% and %userprofile% Pin
Hamid_RT9-Feb-07 6:30
Hamid_RT9-Feb-07 6:30 
QuestionDisplaying Text in rich edit in diffrent font Pin
Swapnil G9-Feb-07 0:46
Swapnil G9-Feb-07 0:46 
AnswerRe: Displaying Text in rich edit in diffrent font Pin
James R. Twine9-Feb-07 1:47
James R. Twine9-Feb-07 1:47 
AnswerRe: Displaying Text in rich edit in diffrent font Pin
Hamid_RT9-Feb-07 5:30
Hamid_RT9-Feb-07 5:30 
QuestionEvent handling right click on dialog? Pin
ldsdbomber9-Feb-07 0:36
ldsdbomber9-Feb-07 0:36 
AnswerRe: Event handling right click on dialog? Pin
Naveen9-Feb-07 1:31
Naveen9-Feb-07 1:31 
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 
Hi again

I need to get hold of the parallel port address. In dos I would have used:

unsigned int far *ptraddr; /* Pointer to location of Port Addresses */
unsigned int address; /* Address of Port */
int a;

ptraddr=(unsigned int far *)0x00000408;

but this doesnt seam to work in vc6.0 (xp) - any clues as to how to do this. I would rather read in the address than just assuming it will be 0x0378.

Thanks for any advice

69Bay

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 

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.