-
- 2022-03-22 16:25:40下载
- 积分:1
-
Delphi通过https接口post数据
应用背景向web认证服务器通过https接口post认证数据,delphi2005正常使用。最初的的时候采用indy控件,IdHTTP和IdSSLIOHandlerSocketOpenSSL配合,但是没有成功,对方服务器连接后立即断开链接,不返回任何数据,后来通过网上查询,找到了这个方法,可以根据服务器的要求自定义头文件和post的内容。引用了WinINet,IDURI单元,其中CnMD5,CnBase64是认证业务需要加入的cnpack中的单元,和https链接无关。这种方法的另外一个好处是不用再调用indy引用的两个dll文件(libeay32.dll,ssleay32.dll),这两个文件和indy的版本还需要配套,比较麻烦,而且就是匹配了我也没有测试成功,可能和对方服务器的环境有关系,感觉还是后来的这种方式兼容性比较好关键技术主要是delphi下的开发,研究了很久,没有找到SSL双向认证的,这个终于让我找到了,可以双向认证,实现微信退款功能等等。。。。。。。。。。。。。。
- 2022-03-20 05:38:43下载
- 积分:1
-
基于PIC的大理主码
PIC based code for DALI Master
- 2022-07-04 03:51:47下载
- 积分:1
-
本人在VC下开发的一个用做各种基于串口的协议模拟器
本人在VC下开发的一个用做各种基于串口的协议模拟器-the development of the VC used as a serial-based agreement Simulator
- 2023-04-19 16:50:04下载
- 积分:1
-
k-means离群点检测
1算法思路
K-means算法
先随机选取K个对象作为初始的聚类中心。然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就代表一个聚类。一旦全部对象都被分配了,每个聚类的聚类中心会根据聚类中现有的对象被重新计算。这个过程将不断重复直到满足某个终止条件。终止条件可以是以下任何一个:
1)没有(或最小数目)对象被重新分配给不同的聚类。
2)没有(或最小数目)聚类中心再发生变化。
3)误差平方和局部最小。
2算法步骤 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-06-17 08:21:18下载
- 积分:1
-
采用I/O完成端口写的Socket连接类,采用消息回调的形式使用
采用I/O完成端口写的Socket连接类,采用消息回调的形式使用-Use of I/O completion port writing Socket connection class, adopted the message in the form of the use of callback
- 2023-05-21 10:50:03下载
- 积分:1
-
New data, loading data, data modification, data search, data designated backup,...
新建数据、载入数据、数据修改、数据搜索、数据指定备份、excel格式转换、分数统一变更-New data, loading data, data modification, data search, data designated backup, excel format conversion, Score unified change
- 2022-05-07 02:41:21下载
- 积分:1
-
我注意到有一段时间,在Windows XP中,当你使用浏览器删除..
I ve noticed for a while that on Windows XP, when you use Explorer to delete a file or directory that is in use by another process, it takes what seems like an eternity before an error message appears telling you the file can t be deleted. During this time, there is no indication that Explorer even noticed the delete command. No hourglass, no nothing. By the time the message box appears, I ve already hit the delete key a few more times in a futile attempt to get Explorer to just do something, already. Either delete the file or tell me you can t...throw me a bone here.
- 2022-01-31 01:32:56下载
- 积分:1
-
什么是API--所谓API本来是为C和C++程序员写的。API说来说去,就是一 种函数,他们包含在一个附加名为DLL的动态连接库文件中。...
什么是API--所谓API本来是为C和C++程序员写的。API说来说去,就是一 种函数,他们包含在一个附加名为DLL的动态连接库文件中。-What is API? API is sort for Application Programming Interface. It is not only for C/C++ Programmer, but also for other programming language. Usually, we refer to API as Windows API. Generally, it is encapsulated in a DLL file.
- 2022-04-30 09:48:42下载
- 积分:1
-
收银系统的VC++实现
收银系统的VC++实现
- 2022-03-18 16:15:39下载
- 积分:1