摘要:
在log4net默认情况下是不支持ssl发送邮件的只需修改 SmtpAppender.cs 即可 (有源码,重新生成dll即可)整个类代码复制替换即可#region Copyright & License// // Copyright 2001-2005 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with th 阅读全文
posted @ 2011-05-31 18:08
风云8
阅读(2076)
评论(0)
推荐(1)
摘要:
下载源码log4net 在AdoNetAppender.cs 文件下的m_dbConnection.ConnectionString = m_connectionString 进行解密的函数如:加密config一样// Set the connection string ShareSafePassword.CRM log4safe = new ShareSafePassword.CRM (); //解密类 if (m_connectionString != null && m_connectionString != "") { m_connectionStr 阅读全文
posted @ 2011-05-31 18:05
风云8
阅读(1173)
评论(0)
推荐(0)
摘要:
本人学过接触第一份语言就是C,印象中感觉良好。最近一个朋友问我个问题:main(){int i=5,j=5,p,q;p=(i++)+(i++)+(i++);q=(++j)+(++j)+(++j);printf("%d,%d,%d,%d",p,q,i,j);}应该是道课后作业题。问q为多少 我算了下:q=6+7+8=21啊 可人家说结果不对是22。绝望。我在tc下运行。正确啊。但在VC6.0下确实不正确。纠结了。不知道神马原因。问一个C资深的朋友他说你在汇编下运行看看(7+7+8)。VC自己把语句优化了啊。。由此联想到经常遇到莫名的结果。一直认为编译器的结果。也就不了了之。看 阅读全文
posted @ 2011-05-31 06:59
风云8
阅读(483)
评论(2)
推荐(0)

浙公网安备 33010602011771号