Canadian miner Teck Resources Ltd. (TCKb.TO) reported a surprise quarterly profit as cost-cutting measures and a weak Canadian dollar helped cushion the impact of lower coal and copper prices.

“Again our operations performed well by reducing our costs while maintaining production volumes,” said Don Lindsay, president and CEO in a statement announcing the results.

“Notwithstanding that the commodity cycle continues to be challenging, we are encouraged by the change in direction in steelmaking coal and zinc prices.”

The global commodity rout has pushed coal and copper prices to multi-year lows, forcing miners to sell assets, lay off workers, and cut dividends and capital spending to preserve cash and reduce debt.

However, a strong U.S. dollar has helped Teck, which sells commodities in the U.S. currency but incurs expenses in local currencies, particularly the Canadian dollar.

Teck, the largest producer of steel-making coal in North America, said on Tuesday it expected coal sales to exceed 6.5 million tonnes in the current quarter.

The company said the construction of the Fort Hills oil sands project in northern Alberta is more than 55 per cent complete and was on track for first oil production by late 2017.

The company had earmarked $2.9-billion for the project, of which about $1-billion remains to be spent as of April 25, the company said.

A prolonged slump in oil prices has resulted in a number of oil projects being deferred, but Fort Hills is one of the projects that is expected to be completed because of the investments already made.

Teck owns a 20 per cent stake in Fort Hills, majority owned by Suncor Energy Inc.

Net profit attributable to the company rose to $94-million, or 16 cents per share, for the first quarter ended March 31, compared with $68-million, or 12 cents per share, a year earlier.

Excluding gains from asset sales and other items, the company earned 3 cents per share, compared with analysts’ average estimate of a loss of 3 cents.

The Vancouver-based company’s revenue fell by 16 per cent to $1.70-billion.

The company’s total debt was $6.97-billion, as of March 31, slightly higher than $6.96-billion at the end of last year.