It's called an inverter, for one.
How do you have it wired up? Cigarette lighter port? If so, that's likely your problem there.
I suggest checking out the FAQs for information on powering your PC.
An inverter is not the ideal way to go.
It will work, but there are far better solutions.