Hi all,
Having a bit of a head bashing issue atm with trying to shell an application.
I wrote an application which is 32bit and I'm trying to run it on a 64bit machine.
There's an application for server 2008r2 (x64) called dnscmd.exe (dns command line tool) and it's located in c:\windows\system32 however when I try and shell this from my application it says it can't find the file. From what I can gather, even though I've hard coded the paths in, Windows is actually trying to look in the c:\windows\syswow64 directory for dnscmd, this is done by design for x64.
If i copy dnscmd into syswow64 it works fine, however this application is going to be used by various people so I don't really want them to be copying files about. I can't script the copy either as it still can't find the file.
Has anyone had any experience of this weird windows x64bit issue before?
Any help would be appreciated as I'm.tearing my hair out!
Cheers
Swain90
Having a bit of a head bashing issue atm with trying to shell an application.
I wrote an application which is 32bit and I'm trying to run it on a 64bit machine.
There's an application for server 2008r2 (x64) called dnscmd.exe (dns command line tool) and it's located in c:\windows\system32 however when I try and shell this from my application it says it can't find the file. From what I can gather, even though I've hard coded the paths in, Windows is actually trying to look in the c:\windows\syswow64 directory for dnscmd, this is done by design for x64.
If i copy dnscmd into syswow64 it works fine, however this application is going to be used by various people so I don't really want them to be copying files about. I can't script the copy either as it still can't find the file.
Has anyone had any experience of this weird windows x64bit issue before?
Any help would be appreciated as I'm.tearing my hair out!
Cheers
Swain90