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

C / C++ / MFC

 
AnswerRe: Deleting a File thru .EXE Pin
Hamid_RT3-Sep-09 3:37
Hamid_RT3-Sep-09 3:37 
QuestionExclude From Theming Pin
Kyudos2-Sep-09 14:50
Kyudos2-Sep-09 14:50 
AnswerRe: Exclude From Theming Pin
Joe Woodbury2-Sep-09 16:57
professionalJoe Woodbury2-Sep-09 16:57 
AnswerRe: Exclude From Theming Pin
Randor 16-Sep-09 2:17
professional Randor 16-Sep-09 2:17 
QuestionScramble game search help Pin
vtsmokey882-Sep-09 14:31
vtsmokey882-Sep-09 14:31 
AnswerRe: Scramble game search help Pin
Code-o-mat2-Sep-09 21:03
Code-o-mat2-Sep-09 21:03 
GeneralRe: Scramble game search help Pin
vtsmokey883-Sep-09 5:04
vtsmokey883-Sep-09 5:04 
QuestionProgram that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr2-Sep-09 13:55
psychegr2-Sep-09 13:55 
Hi there,

I am in the progress of building a program that uses the LPT port to program a cpu through a circuit. I have the source files from an older program that does exactly what i want but it is in DOS. I need to do the same in winxp. In order to gain access to the LPT i need inpout32.dll or something similar. I am not an experienced c/c++ programmer so i need a little help. The program has to send some data to reset the cpu in order to be able to enter in debug mode. Then it reads it and writes the data to a file. After that it open a file and programs the cpu. I am reading all the datasheets about the cpu and the protocoll and i have the source files from an older program in DOS. I am a bit confused. Do i need to write a driver to achieve this??? Or do i need to just program a software? The source files i've got are of any use in my project? In linux they program a driver and they use a debugger to achieve this. There is also a Win NT driver for this. But in win95 there are some programs that don't have a driver for this purpose. Thay all work with the same circuit.
So what is your opinion in this?

Thank you in advance
Padelis

P.S.: The cpu is a motorola/freescale MC68HC16 series and the protocol is BDM through LPT.
AnswerRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 2-Sep-09 15:19
professional Randor 2-Sep-09 15:19 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr2-Sep-09 21:16
psychegr2-Sep-09 21:16 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 2-Sep-09 21:50
professional Randor 2-Sep-09 21:50 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr3-Sep-09 1:12
psychegr3-Sep-09 1:12 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 3-Sep-09 9:31
professional Randor 3-Sep-09 9:31 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr8-Sep-09 9:40
psychegr8-Sep-09 9:40 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 8-Sep-09 14:42
professional Randor 8-Sep-09 14:42 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr8-Sep-09 22:00
psychegr8-Sep-09 22:00 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr10-Sep-09 4:55
psychegr10-Sep-09 4:55 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 10-Sep-09 18:52
professional Randor 10-Sep-09 18:52 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr11-Sep-09 5:53
psychegr11-Sep-09 5:53 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 11-Sep-09 7:15
professional Randor 11-Sep-09 7:15 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr15-Sep-09 13:02
psychegr15-Sep-09 13:02 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 16-Sep-09 3:45
professional Randor 16-Sep-09 3:45 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr17-Sep-09 9:28
psychegr17-Sep-09 9:28 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 17-Sep-09 17:00
professional Randor 17-Sep-09 17:00 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr20-Sep-09 4:28
psychegr20-Sep-09 4:28 

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.