trying to write to c:\windows\system32 on a windows 7 x64 machine, but the application keeps writing to c:\windows\syswow64 instead.

I have heard of windows interpreting commands and modifying them to be what microsoft "thinks" you are trying to do....when dealing with 32 bit apps running on a 64 bit os.... i am just not sure how to go about handling it.

the line of code im using is:
Code:
System.IO.File.WriteAllBytes("C:\Windows\System32\dbcon9x64TEST.dll", My.Resources.dbcon9X64)
the issue is I need to write files to both c:\windows\system32 and c:\windows\syswow64 ....the files need to have the same name... but they ARE different files. any help would be greatly appreciated!