renderman47
New member
- Local time
- 2:43 PM
- Messages
- 5
I am not sure if this is the right forum to discuss this.
I have a code that needs to search for an exe. By default the application saves in the program files folder and hence I use
to search for the folder. This is returning the Program Files(x86) all the time, even if the application is stored in Program files. I am using Win 7 64bit and the code is being compiled for x64. Does anybody know why this might be happening ? Also, what is the best method to search for an exe when its not launched thru code ?
Thanks
I have a code that needs to search for an exe. By default the application saves in the program files folder and hence I use
Code:
SHGetFolderPath(NULL,
CSIDL_PROGRAM_FILES,
NULL,
0,
szPath
Thanks
My Computer
- OS
- Windows 7 64bit