Giter VIP home page Giter VIP logo

hellodm's Introduction

HelloDM

Qt调用大漠插件演示

简单介绍

简单演示Qt调用COM接口的方式。

至于大漠插件能用来干嘛,你们懂的。

大漠免费版的下载和注册请自行搜索,这里不作提供。

程序说明

主要方法:

QAxObject::dynamicCall();

值得一提的是

  1. 有些COM方法里带有输出用的参数(引用),用dynamicCall()调用后,变量并没有被改写。

    暂时没有找到原因,然后可能也不是Qt特有的问题,所以大漠插件针对这种接口,提供了用返回值方式返回数据的封装。

    比如: FindPic() 和 FindPicE()

    各位可以看看大漠接口说明。

  2. 如果读取内存的接口得到都是空数据,可能是需要提升权限。详看main.cpp里的raisePrivilege()

  3. 记得用32位Qt调用32位的COM。。。不要问我为什么知道。。。

hellodm's People

Contributors

jrdeng avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.