Who owns software program created by employee?

Court grants injunction forbidding employee from selling, copying or distributing a software program he designed
|Canadian Employment Law Today

Courier Complete Inc. v. Fraidakis, 2005 CarswellOnt 1100 (Ont. S.C.J.)

An Ontario court has granted a company’s injunction request that an ex-employee be forbidden from selling, copying or distributing a software program he designed until a court decides who owns it.

For almost two years, Courier Complete Inc. had been trying to come up with a software program that would integrate the company’s software with those of major courier companies. It was successfully achieved by Chris Fraidakis, an employee who had never been assigned to work on the project.