My problem is that I have the same code running on Visual studio and it's fine. The same code running on CW doesn't have the good result. I tryed to debug step by step to compare but on CW I can't see some variables. In the debug window I have the wrong address for some variables (two different variables have the same address and nothing inside).