:) please,want help: how can i read line "Message ended with <CR><LF> " from serial port buffer using ReadFile() API function .
I was do that and worked good ,but when enter into large for loop it returned NULLs. so i want to know where is the problem?!! :rolleyes:

thanks !;)

Could you post some code? It would make helping you a lot easier..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.