#include <windows.h>
#include <stdio.h>
typedef void (*MYPROC)(LPTSTR);
int main()
{    
        HINSTANCE LibHandle;
        MYPROC ProcAdd;
          LibHandle = LoadLibrary("user32");
        printf("user32 LibHandle = //x%x\n", LibHandle);
        ProcAdd=(MYPROC)GetProcAddress(LibHandle,"MessageBoxA");    
        printf("MessageBoxA = //x%x\n", ProcAdd);

    
        return 0;
}

用于尝试查找API

相关文章:

  • 2021-12-05
  • 2021-08-03
  • 2021-05-21
  • 2021-11-27
  • 2022-12-23
  • 2021-10-18
猜你喜欢
  • 2021-06-14
  • 2022-12-23
  • 2021-11-18
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案