• LoadLibrary And GetProcAddress And FreeLibrary


    LoadLibrary
    HMODULE WINAPI LoadLibrary(
    __in LPCTSTR lpFileName
    );
    Return Value
    If the function succeeds, the return value is a handle to the module.If the function fails, the return value is NULL. To get extended error information, call GetLastError.
    Remarks
    If lpFileName does not include a path and there is more than one loaded module with the same base name and extension, the function returns a handle to the module that was loaded first.

    GetProcAddress
    Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
    FARPROC WINAPI GetProcAddress(
    __in HMODULE hModule,
    __in LPCSTR lpProcName
    );
    Return Value
    If the function succeeds, the return value is the address of the exported function or variable.
    If the function fails, the return value is NULL. To get extended error information, call GetLastError.

    TEST
  • 相关阅读:
    5. JVM虚拟机栈
    4. 程序计数器
    3. JVM运行时数据区
    2. 类加载
    1. JVM体系结构
    SpringCloud 网关组件Gateway
    SpringCloud Hystrix断路器的基本使用
    SpringCloud Ribbon和Feign 的使用和源码分析
    反向代理的概念
    事务mysql
  • 原文地址:https://www.cnblogs.com/taoxu0903/p/1401777.html
Copyright © 2020-2023  润新知