The timing of his speech was puzzling, being the day an American delegation was due to arrive in Kabul to discuss a strategic partnership agreement with Afghanistan, which both countries seek. The agreement would provide for long-term American financial and military involvement in the country.

“This will have an impact on our country for 40 to 50 more years,” Mr. Karzai said. “Also, it will have good and bad effects.” He did not elaborate.

In addition, Afghanistan is expected shortly to release a plan for the transition of parts of the country from NATO to government control. The plan was due on June 15 but has been delayed.

The president’s address was broadcast live on RTA, the state television network. Mr. Karzai often adopts drastically different messages for domestic audiences, and takes a much harsher stance toward the coalition with his own people than he does in private and in international meetings. Nonetheless, such positions conflict with the coalition’s counterinsurgency approach, which emphasizes improving relations with Afghans.

Mr. Karzai also complained of the environmental damage from coalition weapons.

“Every time when their planes fly it makes smoke,” he said. “When they drop bombs, they have chemical materials in them. Our people get killed, but also our environment is damaged.”

Some weapons used by the foreign forces have nuclear components, he said, adding that the issue was under investigation. He was apparently referring to certain types of ammunition and armor that use uranium or other radioactive materials, although he gave no specifics.

“There are 140 countries here in our country,” he said. “They’re using different explosive materials, chemical materials and all these things. We will talk to them and ask them about all these things, because this has a negative impact on our environment, our animals, our people, so we will ask them about this. They should not think we are uneducated and do not know anything.”