Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 修改了cnvcl包中的 CnSHA1.pas 不支持64位问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 修改了cnvcl包中的 CnSHA1.pas 不支持64位问题
bmsr
新警察
UID 189334
Digest Posts 0
Credits 5
Posts 1
点点分 5
Reading Access 10
Registered 2015-1-15
Status Offline
#1
Post at 2015-1-15 05:29
Profile
|
Blog
|
P.M.
修改了cnvcl包中的 CnSHA1.pas 不支持64位问题
微信接口校验要用到sha1,在这里下载了cnvcl包 ,发现CnSHA1.pas 在64位下异常,查看源代码,发现有几组汇编函数没有64位支持,遂补上了.
当然这个还有个问题是不支持大于4g文件,暂时用不到,以后有空再改造,看了看cnvcl包里的md5也是如此.需要64位切支持大于4G文件md5的可以去我的sina博客下载.http://blog.sina.com.cn/s/blog_53866d7501012foq.html
[
本帖最后由 bmsr 于 2015-1-15 05:37 编辑
]
Attachment
: [支持64为的CnSHA1.pas]
CnSHA1.pas
(2015-1-15 05:29, 16.02 K)
Download count 647
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2015-1-15 15:02
Profile
|
Blog
|
P.M.
感谢支持。我们最新git库上已经砍掉了汇编因此能支持64位了。您可以在下面获取:
https://github.com/cnpack
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-12-4 17:05
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.011594 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats