1 / 7

LR 调用 DLL

LR 调用 DLL. 目录. DLL 的制作 lr_load_dll 的应用. Dll 的制作. 工具: Microsoft Visual Studio 2005 制作步骤: 1. 打开 Microsoft Visual Studio 2005 ,选择新建项目,创建 Visual C++ 下的 Win32 的空项目, 输入名称为 UseDll 2. 根据向导,点击下一步,在应用程序设置中,应用程序类型选择 DLL ,附加选项为空项目,单击完成。. 3. 打开该项目的解决方案,在源文件点击右键,添加新建项,选择 C++ 文件 (.cpp). 输入名称,点击新建

zack
Download Presentation

LR 调用 DLL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LR 调用DLL

  2. 目录 • DLL的制作 • lr_load_dll的应用

  3. Dll的制作 • 工具:Microsoft Visual Studio 2005 • 制作步骤: • 1. 打开Microsoft Visual Studio 2005,选择新建项目,创建Visual C++下的Win32的空项目, • 输入名称为UseDll • 2. 根据向导,点击下一步,在应用程序设置中,应用程序类型选择DLL,附加选项为空项目,单击完成。

  4. 3. 打开该项目的解决方案,在源文件点击右键,添加新建项,选择C++文件(.cpp).输入名称,点击新建 • 4. 输入以下代码: • 5. 编译该代码,生成UseDll.dll

  5. Lr_load_dll的应用 • 1. 打开Lr,创建脚本,协议选择C Vuser • 2. 在Action部分,如下图:

  6. 3. 保存Lr脚本,并将UseDll.dll拷贝到同文件夹下 • 4. 验证脚本正确性,运行脚本。结果如下:

  7. Thanks

More Related