自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(174)
  • 资源 (29)
  • 收藏
  • 关注

原创 delphi调用LUA函数来处理一些逻辑

替同事做了个洛奇英雄传自动染色程序,关于屏幕取色的.因为里面他对颜色的要求比较复杂,改动也比较大,于是我让他把逻辑写在 lua 脚本里面.uses LUA, LUALIB;function lua_CheckColor(r,g,b:Integer):Boolean;varLua : TLua;begin  Lua := TLua.Create;   luaopen_debug(Lua.L

2012-05-04 11:31:32 7955 7

原创 zsh中使用bash命令出错

【代码】zsh中使用bash命令出错。

2024-03-15 13:24:38 370

原创 傻瓜化单机版mongodb副本集搭配脚本

= mongodb 6 开始无法这样使用 ==适用于3 - 5系列的版本。进入 /root 下。

2022-09-19 14:32:11 341 1

原创 golang版 4阶幻方

LUA版 四阶幻方生成办法_爱蹄子的羊头的博客-CSDN博客。

2022-09-13 20:00:00 210

原创 ubuntu 22.04 换阿里云源

ubuntu 22.04 换阿里云源

2022-09-07 10:18:48 3178 1

原创 golang泛型: 简单例子

golang 1.18 支持了泛型,虽然看起来好像不是很好用的样子。官方给的例子太不直观了, 先从一个直观的例子来看看package mainimport "fmt"func main() { fmt.Println(myfunc(3)) // 1 fmt.Println(myfunc(3.0)) // 1.5}func myfunc[V int | float64](a V) V { return a / 2}如果设置值的话, 是可以得到正确的返回值的pac

2022-04-25 18:07:39 526

原创 mariaDB添加新用户

需要新添加用户是 wary密码是 123456数据库是 dbauthCREATE USER wary@'%' IDENTIFIED BY '123456';grant all privileges on dbauth.* to wary@'%' identified by '123456';经常要用, 备份一下

2022-01-24 09:36:09 1722

原创 golang 编译ETCD报错

更新了下go mod 结果发现有个报错 go.etcd.io/etcd/clientv3 tested by go.etcd.io/etcd/clientv3.test imports github.com/coreos/etcd/auth imports github.com/coreos/etcd/mvcc/backend imports github.com/coreos/bbolt: github.com/coreos/bbo

2021-12-03 12:12:27 701 2

转载 ssh进入mac中文???的解决方法

转自ssh登陆mac终端乱码解决方法_155363959_新浪博客LANG=zh_CN.UTF-8export LANG

2021-10-26 15:57:25 158

原创 ubuntu安装jenkins报错?

root@iZbp154eiulph2b78ifsp7Z:/etc/apt/sources.list.d# apt updateHit:1 http://mirrors.cloud.aliyuncs.com/ubuntu focal InReleaseHit:2 http://mirrors.cloud.aliyuncs.com/ubuntu focal-updates InRelease ...

2021-10-18 23:28:26 880 4

原创 mac 安装 brew, 解决一部分各种疑难杂症

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

2021-10-08 11:53:45 95

原创 golang missing dot in first path element

[root@127 MiddleServer]# go mod tidyMiddleServer/application/admin/mergeEverdayGameUserLog imports github.com/yangtizi/log/zaplog imports gopkg.in/natefinch/lumberjack.v2 tested by gopkg.in/natefinch/lumberjack.v2.test imports github.com/BurntSushi/t.

2021-08-18 21:08:00 6588

原创 缺氧修改-名词翻译

AluminumGas = 铝气 CarbonDioxide = 二氧化碳 CarbonGas = 碳气 ChlorineGas = 氯气 ContaminatedOxygen = 被污染的氧气 CopperGas = 铜气 GoldGas = 黄金气体 Helium = 氦 Hydrogen = 氢 IronGas = 铁气 CobaltGas = 钴气 LeadGas = 铅气 ...

2021-08-02 13:22:12 676

原创 缺氧-食物压制器

MircobeMusherConfigprivate void ConfigureRecipes() { ComplexRecipe.RecipeElement[] array = new ComplexRecipe.RecipeElement[] {// 修改配方 new ComplexRecipe.RecipeElement("Dirt".ToTag(), 75f) }; ComplexRecipe.RecipeElement[] array2

2021-07-20 13:05:47 796 1

原创 缺氧--小人初始属性

MinionStartStats// Token: 0x0600358D RID: 13709 RVA: 0x0012420C File Offset: 0x0012240C private void GenerateAttributes(int pointsDelta, List<ChoreGroup> disabled_chore_groups) { List<string> list = new List<string>(DUPLICANTSTAT

2021-07-16 10:58:23 984

原创 缺氧-人力发电

ManualGeneratorConfig public override BuildingDef CreateBuildingDef() { string id = "ManualGenerator"; int width = 2; int height = 2; string anim = "generatormanual_kanim"; int hitpoints = 30; float construction_time = 30f; float[] tie.

2021-07-16 10:24:34 317

原创 缺氧-窑炉-配方

// Token: 0x060005DC RID: 1500 RVA: 0x00022660 File Offset: 0x00020860 private void ConfgiureRecipes() { Tag tag = SimHashes.Ceramic.CreateTag(); // 陶瓷 Tag material = SimHashes.Clay.CreateTag(); // 黏土 Tag material2 = SimHashes.Carbon.CreateTag(); .

2021-07-15 18:05:34 560

原创 缺氧-修改堆肥产出

堆肥修改CompostConfigpublic override void ConfigureBuildingTemplate(GameObject go, Tag prefab_tag) { Storage storage = go.AddOrGet<Storage>(); storage.capacityKg = 2000f; // 储存容量 go.AddOrGet<Compost>().simulatedInternalTemperature = 34.

2021-07-15 17:18:08 747

原创 make入门教程[4]: 变量

生成的 .o文件有点多. 有点乱. 需要删除他, 加一个 clean功能, 打开makefile 在最后加入一段......main9.o: main9.cpp main9.h g++ -c main9.cppclean: rm -rf *.o执行命令 make clean$ make cleanMAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc. rm -rf *.

2021-04-19 14:34:30 92

原创 make入门教程[3] 很多文件

修改 main1.cpp 重新编译得到下面的$ makeMAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc. g++ -c main1.cpp g++ -o test.exe main.o main1.o修改 main.cpp 重新编译得到下面的$ makeMAKE Version 5.41 Copyright (c) 1987, 2014 Embar

2021-04-19 14:25:04 214

原创 make入门教程[2]:make

新建一个shell脚本就叫 buildall.shg++ -c main.cppg++ -c main1.cppg++ -o test.exe main.o main1.o然后运行这个脚本$ sh buildall.sh;./test.exehello worldfun1一切正常, 到现在为止基本上简单的g++就已经讲完了接下来要开始make了直接执行make命令, 得到下面报错(上面是windows, 下面是centos)$ makeMAKE Versi.

2021-04-19 14:01:09 246

原创 make入门教程[1]:Hello world

新建一个main.cpp, 里面写上这样一段代码#include <stdio.h>int main(){ printf("hello world\n"); return 0;}然后在控制台编译$ g++ -o test.exe main.cpp;./test.exehello world改成先输出 .o 文件再变成可执行文件$ g++ -c main.cpp;g++ -o test.exe main.o;./test.exehell.

2021-04-19 13:40:23 141

原创 make入门教程[0]

windows下安装 git for windows.centos 下运行yum install -y gccyum install -y gcc-c++yum install -y gityum install -y makeyum install -y libtool

2021-04-19 13:29:50 58

原创 websocketapp 报错 Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)

这个大垃圾库,浪费我时间。。问题:Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)template <typename config>void connection<config>::send_http_request() { m_alog->write(log::alevel::devel,"connection send_htt...

2021-04-09 14:09:29 1525 9

原创 govcl 添加ICON错误

编译时,报错内容 too many .rsrc sections ,原因: govcl 默认使用了syso,删除掉 github.com/ying32/govcl/pkgs/winappres/uac 即可

2021-02-02 13:22:13 400 1

原创 lazarus 下载地址

lazarus-2.0.10-fpc-3.2.0-win64.exe链接:https://pan.baidu.com/s/1RrAJOxtCw74RFS4270JurA提取码:jcrf

2021-01-25 14:54:31 410

原创 Delphi 制作的服务的调用顺序

安装服务Service.exe /install ServiceCreate ServiceBeforeInstall ServiceAfterInstall ServiceDestroy 卸载服务Service.exe /uninstall ServiceCreate ServiceBeforeUninstall ServiceAfterUninstall ServiceDestroy 启动服务 S...

2021-01-09 17:54:46 106

原创 golang 麻将胡牌快速算法,非常快

package mainimport ( "fmt" "io/ioutil" "math" "sort" "time" "github.com/yangtizi/go/sysutils")var mp map[int]boolfunc main() { mp = make(map[int]bool) dt := time.Now() for i := 1; i <= 9; i++ { jiangtou([]int{i, i}) } fmt.Println.

2020-12-04 16:07:28 621

原创 ubuntu 安装最新版本的 golang

sudo add-apt-repository ppa:longsleep/golang-backportssudo apt updatesudo apt install golang-go目前是1.15正在读取软件包列表... 完成正在分析软件包的依赖关系树 正在读取状态信息... 完成 将会同时安装下列软件: g++ g++-9 golang-1.15-go golang-1.15-src golang-src libstdc++-9-dev建议安...

2020-11-23 17:30:23 8060 1

原创 nginx 做gotty (websocket) 的反向代理配置

worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65;upstream game1_server { server 8.8.8.8:1234;} ...

2020-10-15 14:31:22 493

原创 golang 根据IP获取真实地址(不联网,单机版)

package mainimport ( "fmt" "github.com/yangtizi/cz88")func main() { fmt.Println(cz88.GetAddress("47.56.100.100"))}$go mod init cz88$go build -o cz88.exe$./cz88.exe香港 阿里云...

2020-05-05 18:06:02 999

原创 双点医院治疗成功率修改

//Token:0x06001984RID:6532publicstaticTreatmentCalculationBreakdownCalculateEstimatedTreatmentOutcome(Patientpatient,Staffstaff,Roomroom){floatdiag...

2020-01-30 00:14:05 630 2

转载 WinAPI: SetLayeredWindowAttributes - 设置窗口的透明

WinAPI: SetLayeredWindowAttributes - 设置窗口的透明这是来宾 Dolby 在http://www.cnblogs.com/del/archive/2008/03/08/1081295.html#1096814询问的问题.//声明: SetLayeredWindowAttributes( Hwnd: THandle; {窗口句柄...

2019-11-30 19:12:11 888

原创 从100个男人里面挑选37个, 问这里面存在最优秀的男人的概率是多少?

-- 随机种子. 根据当前时间来获取随机math.randomseed(os.time())-- 男人数量local nManCount = 100;-- 挑选数量local nPick = 37; -- 随机次数local nTotalCount = 1000000-- 男人列表local manList = {};-- 先随机100个男人for i=1,...

2019-11-30 13:58:49 545

转载 纯LUA的Json库

---- json.lua---- Copyright (c) 2019 rxi---- Permission is hereby granted, free of charge, to any person obtaining a copy of-- this software and associated documentation files (the "Software"),...

2019-11-19 17:31:29 1143

原创 Delphi Base32 的加密和解密

const ValidChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';// Base32解码function Base32Decode(const source: string): string;var UpperSource: string; p, i, l, n, j: Integer;begin UpperSource :=...

2019-11-19 17:04:35 474

原创 Delphi 启动程序

program Project1;uses Winapi.Windows, System.IOUtils;{$R *.res}procedure myCreateProcess();var StartupInfo: Winapi.Windows.TStartupInfo; ProcessInfo: Winapi.Windows.TProcessInformation;...

2019-11-08 16:11:07 489

原创 设置环境变量批处理

@echo offrem 获取当前路径set CurrentPath=%~dp0echo %CurrentPath%rem cd /d %CurrentPath%rem ========================================================rem 设置用户环境变量setx JAVA_HOME "%CurrentPath%jdk1.8.0_1...

2019-11-05 17:21:09 528 1

原创 LUA 生成随机字符串

math.randomseed(os.time())function getRandom(n) local t = { "0","1","2","3","4","5","6","7","8","9", "a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s"...

2019-10-18 15:55:31 5161 3

转载 从MySQL到MongoDB(添加MongoDB循环插入数据方法)

转载自NoSQLFan,查看原文本文描述了MySQL中的常用SQL语句在MongoDB中的写法,如果你长期使用MySQL而对MongoDB跃跃欲试,这篇简单的文章可以帮助你更快的进入角色。查询:MySQL:SELECT * FROM userMongo:db.user.find()MySQL:SELECT * FROM user WHERE name = ’starlee’...

2019-10-14 19:33:49 514

Delphi Chrome.7z

Delphi Chrome 全套代码带DEMO

2019-08-25

Lua 版 Excel 工具

使用LUA脚本来读取或者创建Excel -- 格式要UTF8-BOM xls = require "ExcelLua"; for k,v in pairs(xls) do print("函数库:", k, v); end -- 乘法口诀 for i = 1, 9 do for j = 1, 9 do if i <= j then -- xls.setCell(sheet号, 行, 列, 设置的名称); xls.setCells(1,i,j, i .. " * " .. j .. " = " .. i * j) end; end; end; -- xls.saveToFile&#40;文件名&#41; xls.saveToFile&#40;"wary.xlsx"&#41;; print("保存完毕");

2018-01-24

Sublime插件--- C++代码自动格式化

把文件放到这里解压 用户\AppData\Roaming\Sublime Text 3\Packages 重启Sublime 然后在Sublime 里面按下 Ctrl+Alt+F 就可以了

2016-09-21

Delphi RSA 带Demo 免积分

Delphi FGInt 的, 带Demo, 网上其他的版本基本不带Demo

2014-06-24

Delphi 二维码生成

Delphi 调用ZINT 库 生成二维码, 非常简单

2014-05-19

Raknet for Delphi 简单封装2

在前一版的基础上, 又加入了一些内容. http://download.csdn.net/download/warrially/6414989

2013-11-11

Raknet for Delphi 简单封装

简单封装了一个Raknet 提供给Delphi使用. 附源码.

2013-10-17

Raknet 4.0

RakNet是一个基于UDP网络传输协议的C++网络库,允许程序员在他们自己的程序中实现高效的网络传输服务。通常情况下用于游戏,但也可以用于其它项目。 RakNet有以下特点: l 高性能 在同一台计算机上,RakNet可以实现在两个程序之间每秒传输25,000条信息; l 容易使用 RakNet有在线用户手册,视频教程。每一个函数和类都有详细的讲解,每一个功能都有自己的例程; l 跨平台,当前RakNet支持Windows, Linux, Macs,可以建立在Visual Studio, GCC, Code: Blocks, DevCPP 和其它平台上; l 在线技术支持 RakNet有一个活跃的论坛,邮件列表,你只要给他们发信,他们可以在几小时之内回复你。 l 安全的传输 RakNet在你的代码中自动使用SHA1, AES128, SYN,用RSA避免传输受到攻击 l 音频传输 用Speex编码解码,8位的音频只需要每秒500字节传输。 l 远程终端 用RakNet,你能远程管理你的程序,包括程序的设置,密码的管理和日志的管理。 l 目录服务器 目录服务器允许服务器列举他们自己需要的客户端,并与他们连接。 l Autopatcher Autopatcher系统将限制客户端传输到服务端的文件,这样是为了避免一些不合法的用户将一些不合法的文件传输到服务端。 l 对象重载系统 l 网络数据压缩 BitStream类允许压缩矢量,矩阵,四元数和在-1到1之间的实数。 l 远程功能调用 l 强健的通信层 可以保障信息按照不同的信道传输 RakNet支持两种版权,如果你是做免费游戏,RakNet将是免费的。相反,你必须支付一定的费用。

2013-10-15

Delphi ASIO VSTI SDK

Delphi版的VSTI音源插件 制作音乐类必备.. 需要先自行下载 ASIO 驱动.

2013-10-08

DBISAM4 for Delphi2007 demo工具包

Dbisam4 for 2007demo工具包,支持直接创建dbisam的工具

2010-04-19

sence备份档案sence备份档案

sence备份档案sence备份档案sence备份档案sence备份档案sence备份档案sence备份档案sence备份档案

2010-03-13

GDI+相关应用例子源代码

procedure MyGDIDrawEllipse ; // 画圆 procedure MyGDIDrawCap ; // 画线帽 procedure MyGDIDrawLine ; // 画虚线 procedure MyGDIDrawAlign ; // 画对齐线 procedure MyGDIDraw5Lines ; // 画5条线 procedure MyGDIDrawSolidBrush ; // 画实心画刷 procedure MyGDIDrawHatchBrush ; // 画阴影画刷 procedure MyGDIDrawBezier ; // 画贝塞尔曲线 procedure MyGDIDrawPie ; // 画饼图 procedure MyGDIDrawArc ; // 画弧线 procedure MyGDIDrawLinearGradientBrush ; //线性渐变画刷 procedure MyGDIDrawPathGradientBrush1 ; //路径渐变画刷 procedure MyGDIDrawPathGradientBrush2 ; //路径渐变画刷 procedure MyGDIDrawPathGradientBrush3 ; //路径渐变画刷 procedure MyGDIDrawPathGradientBrush4 ; //路径渐变画刷 procedure MyGDIDrawPathGradientBrush5 ; //路径渐变画刷 procedure MyGDIDrawPathGradientBrush6 ; //路径渐变画刷 procedure MyGDIDrawPathGradientBrush7 ; //路径渐变画刷

2009-07-14

税率计算delphi代码

写给老婆用的计算器,含代码 mmo1.Text := '不需要缴税' ; if spe1.Value < 2000 then exit else i:= spe1.Value - 2000; if i<=500 then m:= i * 0.05 else if i <= 2000 then m:= i * 0.1 - 25 else if i <= 5000 then m:= i * 0.15 - 125 else if i <= 20000 then m:= i * 0.2 - 375 else if i <= 40000 then m:= i * 0.25 - 1375 else if i<= 60000 then m:= i * 0.3 - 3375 else if i<= 80000 then m:= i * 0.35 - 6375 else if i<= 100000 then m:= i * 0.4 - 10375 else m:= i * 0.45 - 15375; mmo1.Text := format ('需要缴纳 %f元 的税' , [m]); mmo1.Lines.Add( format ('税后工资为 %f元' , [i-m+2000]))

2009-06-27

DC 可以被注册的版本

可以被注册的版本。。。。。。。。。。。。。。

2009-06-11

commonsourceUML part5

my commonsourceUML part5

2009-06-11

commonsourceUMLpart4

my commonsourceUML part4

2009-06-11

commonsourceUMLpart3

my commonsourceUML part3

2009-06-11

commonsourceUMLpart2

my commonsourceUML part2

2009-06-11

commonsourceUMLpart1

my commonsourceUML && commonsourceUML

2009-06-11

我自己的控件包合集chm

我自己的控件包合集chm我自己的控件包合集chm我自己的控件包合集chm

2009-06-10

RaizeEx英文增强版控件包

RaizeEx英文增强版控件包,拥有更强大的效果

2009-06-10

乒乓台技术教程chm 日文版part3

//Var // updateparam : AutoUpdateParam; // hUpdateExeMutex : THANDLE; // Ret : DWORD; //Begin // ShellExecute(0, 'open', PChar(WhatNews_URL), '', '', SW_SHOWMAXIMIZED); // If Not (IsWindow(g_hUpdateExeHandle)) Then // g_hUpdateExeHandle := 0;

2009-06-10

乒乓台技术教程chm 日文版part2

//Var // updateparam : AutoUpdateParam; // hUpdateExeMutex : THANDLE; // Ret : DWORD; //Begin // ShellExecute(0, 'open', PChar(WhatNews_URL), '', '', SW_SHOWMAXIMIZED); // If Not (IsWindow(g_hUpdateExeHandle)) Then // g_hUpdateExeHandle := 0;

2009-06-10

乒乓台技术教程日文版chmpart1

//Var // updateparam : AutoUpdateParam; // hUpdateExeMutex : THANDLE; // Ret : DWORD; //Begin // ShellExecute(0, 'open', PChar(WhatNews_URL), '', '', SW_SHOWMAXIMIZED); // If Not (IsWindow(g_hUpdateExeHandle)) Then // g_hUpdateExeHandle := 0;

2009-06-10

PHOTOVIEWER

1.WS_FSBPhotoview.dll文件拷贝到系统目录下 2.打开fvfff.dpk,编译安装。 3.在Delphi的tools菜单下Environment Options->Library path添加第2点中的Dpk目录

2009-06-01

GIFImage22

This is a version of Anders Melander's TGIFImage ported to Delphi 7. It supports animated GIF files in Delphi 7. Note: This Delphi 7 version should also work older Delphi versions (not tested much). WARNING: Use it at your own risk. I'm posting it with permission from the author Anders Melander. The original TGIFImage can be found at http://www.melander.dk/delphi/gifimage/ Note: His website is offline at the moment. Finn Tolderlund 2004.04.06 Mail: [email protected] Mail: [email protected] web: http://home20.inet.tele.dk/tolderlund/delphi/ web: http://finn.mobilixnet.dk/delphi/

2009-06-01

TRegware 4.02

WAK Productions Presents: TRegware Shareware Security Component for Delphi Version 4.02 Copyright ?003 - WAK Productions ------------------------------------------------ Programmed by Winston Kotzan Email: [email protected] Website URL: http://www.wakproductions.com/ This program helps developers of shareware include a timebomb/registration for their program. The end-user will enter a License ID and a serial number (like Winzip). If their registration information is correct, then the program becomes registered. TRegware hides data in the Windows registry to check if program was registered. If you have any difficulties using this component, suggestions, or compliments about this component, I would be glad to hear them! Please send an Email to [email protected]. The more user responses received, the more TRegware can be improved to keep it the best shareware security component for Delphi developers! IF YOU HAVE A TECHNICAL QUESTION, PLEASE READ FAQ.TXT BEFORE SENDING AN EMAIL. THANK YOU! Release Notes ------------- Version 4.00 - NOTE THAT THE TREGWARE 4.00 ALGORITHM IS INCOMPATIBLE WITH PREVIOUS VERSIONS - New and revised demo programs included in distribution package Major revisions: - New feature allows an expiration date to be included in the registration code. This would help prevent the illegal spread of codes over a period of time. If a user enters a registration code beyond the expieration date, TRegware will not accept the code. - Now uses completely different, more secure algorithm. The registration code now consists of a combination of several code generating algorithms to make it harder for crackers to create keygens. - The TRegware class can no longer generate its own registration codes. To create registration codes use the TRegCodeGenerator class. (See demo program) - Now has option to use an expiration date in code. Check the documentation for more information. - Class name has been changed from TRegwareII to TRegware4 because of incompatibilities with past versions. - The TRegware class no longer has the ability to generate registration codes. The program now uses the function named E89CE8E0 to verify codes. Minor revisions: - Removed hard drive serial number related LicenseSource options. It was unreliable under Windows XP. - If the registry data is corrupted or unrecognized TRegware sets itself unregistered Version 3.20: - A set of compiler-time options are now available in the unit reg_opts.pas It is suggested to configure this file for each of your programs for greater security. Please read the comments in reg_opts.pas for further description. - Added Email property to contain user's email address. See DoRegistration() function documentation for details. - Licensing options (LicenseType, LicenseSource properties) have been moved to a special class, TLicenseOptions. They will now appear under the LicenseOptions property. LicenseOptions are only available in the professional edition. Version 3 of TRegware includes many features to improve its flexibility and security. In particular, TRegware has been modified to operate on Windows 2000 and XP systems. New features in version 3.0: - FSeed is now encrypted to protect from hackers. To turn this option off, remove the '$DEFINE HIDE_SEED' line from regware2.pas. Having this option on may cause TRegware to not recognize already existing registrations from previous versions. (Only available in source code edition) - Windows 2000 / XP registry is now supported. Information is stored under HKEY_CLASSES_ROOT for 2000/XP systems. - New ban-list features allows you to ban certain users from using the next version of your software - Added 1 second-delay for registration attempts to prevent cracking by brute-force. This option does not have a property to disable it so that it is a little more difficult to patch. - Added spaghetti code in CalculateCode() for the purpose of confusing hackers - Option to use system-generated license id (uses Windows system ID or hard drive serial #) - Option to set site-licenses and single-user licenses. New features in version 2.0: -Detects if the user attempted to deceive the timebomb by setting their computer's clock backwards. In this case, the component will signal an OnClockChange event and report that the program has expired. When the user decides to put his clock back within the remaining 'x' days of his evaluation period, the timebomb will continue to operate. -TRegware now comes packaged with a Perl file (regware200.pl) so that registration codes can be generated on a UNIX-based web server. You can use the Perl script if you would like to give registration codes to customers via a CGI program. Bug reports? Suggestions? Comments? Email to: [email protected] or visit website http://www.wakproductions.com/

2009-05-31

AviWriter 带demo

Easiest way to install: Load the program group AviDemo.bpg, install the package AviPack.dpk(bpl), try the demos. Read the source of AviWriter_2.pas (in AviPack) to get help on what the procedures and properties do. **Current version: AviWriter_2 ver 1.0.0.4 Changes: Finally got On-the-fly compression working with still being able to add an audio-stream. Use property OnTheFlyCompression (default is true) Also, now more than one audio file can be added. For each wav-file a delay (ms) can be specified, which says when it'll start playing. Use method AddWaveFile. In 1.0.0.3 the delay got too short. Now it seems to work, due to really adding "silence" from the end of the previous audio file. Note: Some Codecs don't support On-the-fly compression. If OnTheFlyCompression is false, only one wave file can be added. **A list of codec-gotchas: (still unclear about the exact range of occurrance) IV50 Indeo Video 5: Both frame dimensions must be a factor of 4. DIVX DivX codec: Both frame dimensions must be a factor of 4. Gives a floating point error under certain circumstances. More and more likely that this occurs if the frames are too "different". If this happens, then there's an AV in Avifil32.dll, don't know how to prevent this. The codec compresses real movies nicely at frametimes <=60 ms, when changing the settings in its dialog box as follows: Bitrate (1st page): to >=1300 Max Keyframe interval (2nd page): to <=20. MRLE MS-RLE Use that one if you want to make avis which play transparently in a TAnimate. (Thanks Eddie Shipman) But it does not support on-the-fly compression. Whenever a codec fails to work, there's this dreaded error "A call to an operating system function failed" while writing a compressed file, or an unhandled exception. The only way to prevent it, that I see, is, to collect more peculiarities about the codecs and stop execution in case of certain combinations of settings. When queried about their capabilities, some of these guys seem to lie. Renate Schaaf [email protected]

2009-05-31

FlashSDK230

Delphi SWF SDK contains pure Object Pascal library for creating SWF files, without using of any external dynamic libraries. It is based on Flash movie designing so using in Delphi differs from SDK for C language providing by Macromedia. The library consists of 2 levels: Flash-objects and SWF-objects. Actually, SWF-objects are information copies of SWF tags and Flash-objects are "constructors" assisting to make work more efficiently.

2009-05-31

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除