raga scusate, in questa porzione di codice
kuando il programma esegue la funzione fflush(hCOM) mi crasha! e non capisco perkè! hCOM è la seriale (infatti kuesto prog scrive delle stringhe sulla seriale)codice:... WriteFile(hCOM, init3, 14, &nb, 0); TransmitCommChar(hCOM,13); fflush(hCOM); ReadFile(hCOM, buffer, 14, &nb, 0); ...
Se kualkuno ha kualke suggerimento è ben accetto![]()