They seem to be used in the same way.
Well は is used a lot as a topic particle and を (o) is used as a direct object marker..
Direct Object Marker:
ほんをください。 Give me the book please.
おなまえはなんですか。 What's your name?
Here is some more background on は を ＆ へ: