Chenbh
Newbie level 6
(I wasn't sure where to ask the questions...sorry if I got to the wrong forum.)
Hello..I'm new to electronics and to this site.
I'm studying C prgraming at school (the level isn't going to get higher than 1+1) ,at school,we can send data through the LPT port without any problem (just add ntport.h to project).When I do the same thing at home - I'm experiencing problems.
I use:
*Windows 7 32 Bit
*Microsoft Visual C++ 2010 Express
When I use the Outport or _outp command the compiler gets to the line which has this command and shuts the application down.
it just alarms me that the application stopped and Windows is trying to get a solution to the problem (does it realy search? ).
I've found the inpout32.dll file but I don't know what do I need to do with it.
the NTPORT.H doesn't do the job,so maybe I did something wrong with adding it to the project or including it in the application.
__________
ANOTHER QUESTION:
Can the software that I'm using export a .hex file to get it burned into a microcontroller?
if not:
The second problem:
when I'm using Keil µvision 4,it shows me: "error 56: can't open file" what can I do? I've tried to open lots of projects and tried to compile lots of basic softwares with different commands and functions.
__________
If I want to get to the 21st century. and replace the LPT with a USB...what should I learn? I really want to get in that topic,I have some ideas for nice devices for me to build when I'll know more.
*sorry for my English,I'm doing my best to talk well.
Thanks in advance,
Chen
Hello..I'm new to electronics and to this site.
I'm studying C prgraming at school (the level isn't going to get higher than 1+1) ,at school,we can send data through the LPT port without any problem (just add ntport.h to project).When I do the same thing at home - I'm experiencing problems.
I use:
*Windows 7 32 Bit
*Microsoft Visual C++ 2010 Express
When I use the Outport or _outp command the compiler gets to the line which has this command and shuts the application down.
it just alarms me that the application stopped and Windows is trying to get a solution to the problem (does it realy search? ).
I've found the inpout32.dll file but I don't know what do I need to do with it.
the NTPORT.H doesn't do the job,so maybe I did something wrong with adding it to the project or including it in the application.
__________
ANOTHER QUESTION:
Can the software that I'm using export a .hex file to get it burned into a microcontroller?
if not:
The second problem:
when I'm using Keil µvision 4,it shows me: "error 56: can't open file" what can I do? I've tried to open lots of projects and tried to compile lots of basic softwares with different commands and functions.
__________
If I want to get to the 21st century. and replace the LPT with a USB...what should I learn? I really want to get in that topic,I have some ideas for nice devices for me to build when I'll know more.
*sorry for my English,I'm doing my best to talk well.
Thanks in advance,
Chen