摘要: sybase 脚本删除存储过程 if exists (select 1 from sysobjects where id = object_id('P_add_user') and type = 'P') drop procedure P_add_usergo 阅读全文
posted @ 2017-04-03 21:06 夏天的西瓜君 阅读(959) 评论(0) 推荐(0) 编辑
摘要: 在linux系统已经安装sybase 12.5之后,可以在命令行 执行 isql -Usa -P密码 -i 脚本文件(如下) 以下是脚本内容:(创建为yxmdb的库和user001,密码是123456的数据库用户) declare @vdevno int select @vdevno=1+max(l 阅读全文
posted @ 2017-04-03 21:04 夏天的西瓜君 阅读(549) 评论(0) 推荐(0) 编辑
摘要: procedure TForm1.btn1Click(Sender: TObject); begin ShowMessage('这是ShowMessage消息框'); ShowMessage('这是ShowMessage换行消息框' + #13#10 +http://www.cnblogs.com/ 阅读全文
posted @ 2017-04-03 20:53 夏天的西瓜君 阅读(799) 评论(0) 推荐(0) 编辑
摘要: procedure TFormSWITCHFILENAME.btn_changeClick(Sender: TObject); //替换文件名var dir: string; FileNameList: TStringList; RenameFile: file; FileName:string; 阅读全文
posted @ 2017-04-03 18:22 夏天的西瓜君 阅读(1497) 评论(0) 推荐(0) 编辑
摘要: 下面的代码是实现从客户端发送一个命令给服务端,服务端接收到命令后截取屏幕并发送给客户端,客户端接收保存显示客户端: var ftmpStream : TFileStream; bitmap:Tbitmap;begintrywith IdTCPClient do begin if connected  阅读全文
posted @ 2017-04-02 18:32 夏天的西瓜君 阅读(1972) 评论(0) 推荐(0) 编辑
摘要: These `-m’ switches are supported in addition to the above on AMD x86-64 processors in 64-bit environments. -m32 -m64 -mx32 Generate code for a 32-bit 阅读全文
posted @ 2017-04-02 08:56 夏天的西瓜君 阅读(570) 评论(0) 推荐(0) 编辑
摘要: C语言 编译时出现错误 warning: incompatible implicit declaration of built-in function ‘malloc’warning: incompatible implicit declaration of built-in function ‘b 阅读全文
posted @ 2017-04-01 22:00 夏天的西瓜君 阅读(8312) 评论(0) 推荐(0) 编辑
摘要: 先要在github注册账号,同时创建仓库$ npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to gue 阅读全文
posted @ 2017-03-30 21:35 夏天的西瓜君 阅读(2733) 评论(0) 推荐(0) 编辑
摘要: npm install forever -g #安装 forever start app.js #启动应用 forever stop app.js #关闭应用 forever restartall #重启所有应用 #输出日志和错误 forever start -l forever.log -o ou 阅读全文
posted @ 2017-03-30 19:29 夏天的西瓜君 阅读(227) 评论(0) 推荐(0) 编辑
摘要: procedure TFmXX.BtnFindClick(Sender: TObject); var i : integer; begin inherited; for i := 0 to BTvCity.Items.Count -1 do begin {如果和文本框匹配} if BTvCity.I 阅读全文
posted @ 2017-03-28 18:02 夏天的西瓜君 阅读(1247) 评论(0) 推荐(0) 编辑