João Paulo Figueira wrote: Are you specifying ANSI or UNICODE filenames and modes? I just open it for reading ("r") and that works fine. The contents are normal string that are stored in char*. João Paulo Figueira wrote: When I moved to CE, I forgot about ANSI just to make my life less miserable, and it worked. Yep, but I cannot do that: I have a huge library that was developed on desktop environment and I want to reuse it (rewrite everything will take me really too much time) and I need to be compatible with the file format from my desktop computer (they need to understand each other). So, I have no choice: I will need to use ANSI string and convert them to UNICODE when they are not supported :( ! But I think I'll find a way out ;) ! João Paulo Figueira wrote: Is it working, now? Yes, it is :)! Anyway, thanks ;)