Yeah, it seams there is two important things to do when using extensions in this setup, one, copy the libmysqli.dll file from you php5 director to your windows/system32 directory, two, see to that the path to the extension directory has a trailing backslash:
extension_dir = "C:\php\ext\"