What do you mean by "behaves strange" ?There was a bug in one of the zcodeclib's function, classic one: char ext[3]; strcpy( ext, last_three_chars_from_path_string ); i.e. forgotten space for '\0' character what led to all kinds of strange crashes :)