"We are very happy because of the engagement of the Croatian Army, which shared an experience similar to Afghanistan's, the experience of war," said Karzai, adding that Croatian peace troops "know the psychology of the victims of war" and that this enabled them to do a good job.
Karzai invited the Croatian president to visit Afghanistan, which Mesic accepted.
Mesic said their talks also focused on economic cooperation because of Afghanistan's big potential.
He said Karzai mentioned Afghanistan's need for the building of roads and other infrastructure. He added Croatian companies had experience in that and should participate in the reconstruction of Afghanistan.
The two presidents agreed Croatia should once again take part in the building of power plants in Afghanistan.
Mesic invited Karzai to visit Croatia at the helm of an economic delegation.
Mesic is in Madrid attending an international conference on terrorism.