码迷,mamicode.com
首页 >  
搜索关键字:messages    ( 1544个结果
Alphacode
题目描述 Alice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: "Let's just use a very simple code: We'll assign 'A' the code word 1, 'B' wil...
分类:其他好文   时间:2014-12-29 15:24:42    阅读次数:134
delphi变量作用域
完全摘自网络(一件飘雪),供参考:很多初学者对delphi单元的变量和函数访问权限不理解,在此我举例说明,希望初学者看此文后能茅塞顿开。delphi单元的变量和函数访问权限问题如下两个单元描述:unit Unit1;interfaceusesWindows, Messages, SysUtils, ...
分类:Windows程序   时间:2014-12-28 20:45:01    阅读次数:225
StompClient的包装类
为了简化MQ调用,写了个StompClient的包装类,可以供需要的参考:unit FStompClient;interfaceuses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, Stomp.....
分类:其他好文   时间:2014-12-27 15:10:01    阅读次数:332
faultString = "java.lang.NullPointerException : null"
1、错误描述 (mx.messaging.messages::ErrorMessage)#0 body = (null) clientId = "E75F6AF8-5E0E-4184-3AF2-860E39C2D8CD" correlationId = "DD54367E-6190-6FF3-C263-81FEF0DB9D09" destination = "waitRestor...
分类:编程语言   时间:2014-12-26 01:04:44    阅读次数:645
重构的WechatLog
重构前class WechatLog < ActiveRecord::Base has_many :wechats belongs_to :wechat_platform has_many :img_text_messages def self.add_wechat_text_message...
分类:其他好文   时间:2014-12-23 00:01:19    阅读次数:507
队列与DelphiXe新语法
好久没写代码了,更久没上博客园的博客了,无聊写几行试一下新语法。 1 unit Main; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, Sy...
分类:Windows程序   时间:2014-12-20 23:21:47    阅读次数:307
DELPHI在标题栏上增加按钮
Delphi代码unitUnit1; interface uses SysUtils,WinTypes,WinProcs,Messages,Classes,Graphics,Controls, Forms,Dialogs,Buttons,DdeMan,StdCtrls; type TTitleBtn...
分类:Windows程序   时间:2014-12-20 00:46:45    阅读次数:355
Flex 日志管理
在Flex中调试方法有两种: 一是用trace()函数,在flex builder中进行调试; 二是用logTarget类,如下代码: // Create a target. var logTarget:TraceTarget = new TraceTarget(); // Log only messages for the classes in the mx.rpc.* a...
分类:其他好文   时间:2014-12-18 10:24:05    阅读次数:170
Delphi调用C++写的dll示例
最近做一个读市民卡的项目,读卡器公司提供的读市民卡dll是用C++写的。下面记录一些自己的心得,供需要的朋友参考。声明dll函数要加上stdcall关键字,否则可能会报地址非法的错误。代码:unit cMain;interfaceuses Windows, Messages, SysUtils, ....
分类:编程语言   时间:2014-12-16 10:02:02    阅读次数:271
Delphi中使用@取函数地址的问题(转)
Delphi中使用@取函数地址的问题例如以下代码:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs;type TForm1 = clas...
分类:Windows程序   时间:2014-12-15 18:55:51    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!