Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

ProgramFilesFolder64 not returning value as expected with Wow64 plugin

$
0
0
Since
g_ProgramFiles64Folder = SessionVar.Expand("%ProgramFilesFolder64%");

returns the x86 PFF, I would expect the following would get the correct PFF value on a 64 bit machine:
Wow64.DisableFsRedirection();
g_ProgramFiles64Folder = SessionVar.Expand("%ProgramFilesFolder64%");
Wow64.RevertFsRedirection();
iManageLog("PFF is: " .. g_ProgramFiles64Folder .. "\r\n");

but I still see:
[08/26/2020 10:55:13] PFF is: C:\Program Files (x86)

any help on what is being done incorrectly?

Viewing all articles
Browse latest Browse all 2105

Trending Articles