I've written code for my own projects - created before I got my full-time gig and maintained by me since - that would excel at solving some issues that we're having on one of my day-time projects. However, I'm afraid that using my code to solve my employer's problem will accidentally give them ownership. So, It seems like I've got a few options:
On my employer's dime, reinvent the code that I've written in the past, effectively writing a new version from scratch. This seems silly but would probably solve any legal issues as the two products would have a completely different source base. Then, of course, arises the issue of what I can do with any new "ideas" I garnered from writing a new version...
Use the source I've already written and rely on the fact that it's not worth anyone's time to sue me. This sounds like a really bad idea.
Give my employer a license for my software / components. (And, no this isn't open source - my kid has to eat.) This just sounds silly, and I can't imagine a 2000+ employee corporation taking this seriously.
Play dumb and try to find a completely different approach to apply to my employer's projects. Of course, this has a negative impact on my ability to do the best job possible at work since I would be seeking the 2nd most efficient solution to a particular problem.
Help!
update
Well, I already wrote it, so getting them to pay me to write it doesn't make sense. I'm not looking to hijack stuff I'm creating for work - I want to help them (and myself by extension) by applying a solution I invented before I came to work for them to their project.
Also, I'm a salaried employee - there ain't no such thing as overtime in my world.