码迷,mamicode.com
首页 >  
搜索关键字:phi    ( 1524个结果)
delphi 判断exe重复执行
var hAppMutex: THandle; //声明互斥变量begin hAppMutex := CreateMutex(nil, false,'WMS');// WMS应用程序名称 if ((hAppMutex <> 0) and (GetLastError() = ERROR_ALREADY ...
分类:Windows程序   时间:2017-04-24 21:14:30    阅读次数:175
Delphi 连接 Paradox
应用TDataBase控件把DataBase的DriveName设为STANDARD,然后设置DataBase的Params中设置PATH=*.db文件地点目录DEFAULT DRIVER=PARADOXUSER=用户名PASSWORD=口令再为DataBase的DatabaseName定义一个名字 ...
分类:其他好文   时间:2017-04-24 12:13:19    阅读次数:249
poj2488 A Knight's Journey
Background The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. ...
分类:其他好文   时间:2017-04-23 18:14:17    阅读次数:269
jweixin-1.1.0.js微信接口“分享给朋友”文字和图片配置
在npm官网找到了:微信官方 js-sdk CommonJS 版https://www.npmjs.com/package/weixin-js-sdk 步骤一:引入JS文件在需要调用JS接口的页面引入如下JS文件,(支持https):http://res.wx.qq.com/open/js/jwei ...
分类:微信   时间:2017-04-21 18:55:34    阅读次数:2814
31. Next Permutation(C++)
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possib ...
分类:编程语言   时间:2017-04-18 21:49:53    阅读次数:186
Centos7安装GBrwose
一、GBrowse概述 Generic Genome Browser(GBrowse)是将基因的数据以网页的形式进行动态展示。其特性有:可以概括和细致地看基因的相关信息可以滚动,放大,居中可以使用预置或自己的数据。。。 GBrowse是一个开源软件,以perl为基础的,GBrowse2.x可以通过C... ...
分类:其他好文   时间:2017-04-18 09:37:30    阅读次数:204
oracle 交集和并集
今天研究了一下oracle 交集和并集,下面把我经过查找资料,测试后,整理如下: 1.并集 表1: insert into student1 values(1,'学生1'); insert into student1 values(1,'学生2'); insert into student1 val ...
分类:数据库   时间:2017-04-16 19:31:36    阅读次数:231
delphi 判断给定日期的天数,给定日期距离月初的天数,给定日期距离月末的天数
uses dateutils; //判断给定日期的天数 label1.caption := inttostr(DaysInAMonth(yearof(StrToDate(Trim(Edit_riqi.Text))),monthof(StrToDate(Trim(Edit_riqi.Text))) ) ...
分类:Windows程序   时间:2017-04-15 19:11:14    阅读次数:273
在Delphi中创建线程,请一定使用BeginThread()代替CreateThread()创建线程!(更好的管理异常)
在Delphi中创建线程,请一定使用BeginThread()代替CreateThread()创建线程! 如果直接使用Win32的API函数CreateThread()创建多个线程,也是可以创建的。但是,你应该明白,在每个线程中动态分配和销毁内存块,是需要同步保护的。Delphi语言中有一个在使用多 ...
分类:编程语言   时间:2017-04-15 00:16:44    阅读次数:230
Delphi的对象注销方法Destroy和free
当您使用完对象后,您应该及时撤销它,以便把这个对象占用的内存释放出来。您可以通过调用一个注销方法来撤销您的对象,它会释放分配给这个对象的内存。 Delphi的注销方法有两个:Destroy和Free。Delphi建议使用Free,因为它比Destroy更为安全,同时调用Free会生成效率更高的代码。 ...
分类:Windows程序   时间:2017-04-15 00:01:05    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!