Hi Salem can you post a sample cpp source code for strtol() which as per you does not have the range problem ,