hi, recently i instaled uvision 2.38 on my computer.but when i want to build and compile a project the uvision halts . when i erase the "#include <reg51.h>" command the uvision don't stop but i get the "error C202: 'TH1': undefined identifier" error message" please tell me what is the problem. i must say that i don't have the problem with the previous versions" thanks very much.
What exactly do you mean by "Halts?" Do you get any messages? "when i erase the "#include <reg51.h>" command the uvision don't stop but i get the "error C202: 'TH1': undefined identifier" error message" Well you would, wouldn't you - because that's where TH1 (and all the other Processor registers) are defined! Thus it sounds like you have a file-access problem with reg51.h. What happens if you right-click the header name in the uVision editor and try to open the file?