Hi Jan,
Thanks for your answer, I was able to solve the problem, I just needed to use the WinUSB_AbortPipe function when closing the device, it seems that a reading process was still running impeding to take a good reading next time I opened the device.
I have another issue, when I install my device, it is installed successfully; however, I can see on the device manager that my device keeps enumerating forever, any idea of why is my device doing that?