Git Product home page Git Product logo

tsplug's Introduction

TSPlug 天使插件

天使插件是长沙简单软件有限公司2012年与合作开发者合作开发,由于近段时间一直没未更新,长沙简单软件科技有限公司经商议决定,将天使4.019版本代码开源,希望有兴趣的朋友,能够将天使插件的功能继续维护下去,同时也希望各位朋友遵循相关开源协议.

我的博客:www.gaojunxin.cn

开源的原因

TC官方之前已经宣布了停止开发天使插件,我们认为大漠已经很成熟了,所以我们也解散了合作开发团队,但是因为现在大漠也不在对外更新(当然这个只是我们听到很多作者的反馈),很多作者都很担心如果没有一款后台DX插件了要怎么办,TC官方经过讨论后不再继续开发天使插件,所以我们决定把天使源码开源,希望后台插件会继续发展.

开源代码中,DX后台功能源码完全开放,无任何保留部分,且长沙简单软件开发有限公司对于此源码将不做后期维护.各位感兴趣的朋友可以自行修改,发布.

编译环境

1,本插件使用VC2008开发,使用C++语言,和极少的汇编语言开发. 2,本插件可以直接编译生成,如果不能直接编译的,请自行安装 DirectX sdk (DXSDK_Feb10.exe),配置相关环境,环境配置请,参考DirectX游戏开发的

image.png

可以直接编译DLL

TS插件使用方法

TS插件遵循COM规范编写支持任何高级语言调用

1、注册插件.
使用TS之前,首先必须得先注册TS—>注册
方法1: 开始->运行-> "Regsvr32 c:\\TSPlug.dll"
方法2: 用TC自带的 "TC插件辅助工具" 注册
方法3: 用TC注册命令 help.regdll("c:\\TSPlug.dll",true)
2、创建对象.
插件注册成功以后,我们接下来要做的工具就是如何使用插件里的功能—>创建对象
方法1: ts=com("ts.tssoft")
(注意:这里创建的对象在TC里面是区分大小写的)
3、调用接口.
插件注册成功了,对象也创建成功了,接下来我们就可以开始工了—>接口的调用
代码还是TC的代码,简单写两个吧,大家都懂的
ret=ts.BindWindow(hwnd,"dx","dx","dx",0)
if(ret==1)
  help.messagebox("绑定成功")
else
  help.messagebox("绑定失败")
endif

说明

说明文档在源码根目录下:Ts.chm

image.png

tsplug's People

Contributors

gaojunxin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.