Just throwing in my 1c, but you could always use POE and one of it's DBI components which have been tested and is known to work on windows. However, POE might not be a good fit for your application :(
POE::Component::EasyDBI, POE::Component::SimpleDBI is the two I know that boasts of MSWin32 compatibility. Others might be lurking on CPAN :)
Otherwise, hope you successfully navigate the intricacies of fork() and MSWin32's crappy emulation of it!