Meanwhile , Afghan President Hamid Karzai says resolving difficulties with neighboring Pakistan will put an end to the Taleban .