Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- #include <ShellAPI.h>
- #include <stdio.h>
- int main(int iArgc, const char *pArgv[])
- {
- ShellExecute(NULL, L"open", L"C:\windows\sysnative\..\..\Program Files\Internet Explorer\iexplore.exe", NULL, NULL, SW_SHOWNORMAL);
- BOOL bIAmWow64 = FALSE;
- IsWow64Process(GetCurrentProcess(), &bIAmWow64);
- printf("I am a wow64 process: %hsn", bIAmWow64 ? "Yes": "No");
- return 0;
- }
Add Comment
Please, Sign In to add comment