软件加密
从来没有考虑过在自己的软件上进行复杂的,保险程度很高的加密。
现在有一个项目,因为是商业软件,因此需要在软件保护上考虑很多。
我们大家都知道,真正的软件加密是不存在的。微软掌握操作系统核心,还防范不了被盗版的命运。但是我们可以采取措施将被盗版的机会减少到最低的程度。
希望可以从大家这里得到启发。
posted on 2003-11-27 11:57:00 by roboo 评论(10) 阅读(2969)
随笔 - 129, 评论 - 906, 引用 - 60 |
||
软件加密从来没有考虑过在自己的软件上进行复杂的,保险程度很高的加密。 现在有一个项目,因为是商业软件,因此需要在软件保护上考虑很多。 我们大家都知道,真正的软件加密是不存在的。微软掌握操作系统核心,还防范不了被盗版的命运。但是我们可以采取措施将被盗版的机会减少到最低的程度。 希望可以从大家这里得到启发。
posted on 2003-11-27 11:57:00 by roboo 评论(10) 阅读(2969) mappoint
终于从MSDN网站把这个Mappoint Down下来了。大概查询了一些北美的地图,并且试用了一些简单的功能,感觉确实很眩。 我截了一幅Microsoft, Redmond, Washington 附近的餐饮设施的图片,明年准备去参加Global Summit的MVPs可以参考一下了。不过似乎没有发现中餐馆。 http://blog.joycode.com/images/blog.joycode.com/roboo/508/r_Microsoft.jpg | ||
posted on 2003-11-26 10:12:00 by roboo 评论(9) 阅读(4853)
用一天时间把那个项目的快速原型做完了,用VC的话,恐怕一个星期也完不了呀。
本来计划这个星期要加班的,现在可以按时下班了。
论起快速原型这样的方法,我还是推荐VB,虽然重粒子对于Basic语法很不满意。
posted on 2003-11-25 17:40:00 by roboo 评论(4) 阅读(1866)
收到了MSDN,大概的对里面的最新的软件view了一下。
首先用了office 2003 中的安全验证,当然使用的是ms 的免费 passport 服务。感觉效果不错。不过我就是没有发现在同一个文档中对不同段落apply 不同的安全规则的方法。
原来MS也有CRM软件,大概看了看还不错。以后这类软件也就不用自己开发了,可是是不是意味着工作越来越少了?![]()
感觉到非常遗憾的是MSDN 宇宙版中没有mappoint这样的软件,自己只能从msdn download了。是不是因为我订阅的是East Asia 的原因?
在小气的神 上看到 “
Longhorn 多么让人激动!Longhorn !Longhorn !Longhorn !Longhorn !Longhorn !!
.NET评测网正在整理空间,因为准备放一个非常Cool的VPC --- Longhorn + Whidbey + Longhorn SDK,当然优先给NDA’s的成员们,虽然运行起来慢点,但大家别费力自己安装了J ”
这对我显然是意见非常Cool的事情,我虽然在.NET Tools 评测网上申请了NDA成员,但是一直没有时间摆弄这些东西,一个工作太忙,二一个我的机器实在是没有办法安装这些软件呀。汗ing..
从help.net 上还看到了MS提供的一些webservice的接口
Do you know that Microsoft offer some Web Services available for developers.
Read this article to know more on them
posted on 2003-11-20 09:48:00 by roboo 评论(8) 阅读(1716)
最近用VC做一个快速原形给客户,郁闷ing...
试用CJ60Lib 郁闷ing....
上次说的C++下编译的DLL可以在framework下直接#using的例子现在可以下载了。可惜我没有Whidbey,有这个的同志可以try一下了
MS也推出了自己的新闻搜索门户,准备和news.google.com 进行正面冲突了。巨人之间的决斗是最美妙的。
推荐文章一篇:
Burn CDs right from your .NET code...
posted on 2003-11-18 10:10:00 by roboo 评论(39) 阅读(2290)
在我的blog上更新了几个link
看到Simple stack code这样的一篇文章,看到后真的是兴奋的难以自已。这是我目前从Whidbey 上看到的最另人激动的改进了。
在C++下编译的DLL可以在framework下直接#using了,不需要再使用Managed C++首先编译成framework版本的....
虽然不知道这个是怎么实现的,但是这个功能真的是有用呀。
还有一篇文章非常重要,
Is there any way to find out if a given DLL is managed or unmanaged without trying to load it?
// mcppfaq_isManaged.cpp
// compile with: /clr
// arguments: mcppfaq_delnative.dll
#using <mscorlib.dll>
using namespace System;
using namespace System::IO;
static bool isManaged(String __gc* sFilename)
{
try
{
Byte Data __gc[] = new Byte __gc[4096];
FileInfo __gc* file = new FileInfo(sFilename);
Stream __gc* fin = file -> Open(FileMode::Open, FileAccess::Read);
Int32 iRead = fin -> Read(Data, 0, 4096);
fin -> Close();
// Verify this is a executable/dll
if ((Data[1] << 8 | Data[0]) != 0x5a4d)
return false;
// This will get the address for the WinNT header
Int32 iWinNTHdr = Data[63]<<24 | Data[62]<<16 | Data[61] << 8 | Data[60];
// Verify this is an NT address
if ((Data[iWinNTHdr+3] << 24 | Data[iWinNTHdr+2] << 16
| Data[iWinNTHdr+1] << 8
| Data[iWinNTHdr]) != 0x00004550)
return false;
Int32 iLightningAddr = iWinNTHdr + 24 + 208;
Int32 iSum=0;
Int32 iTop = iLightningAddr + 8;
for (int i = iLightningAddr; i < iTop; i++)
iSum|=Data[i];
if (iSum == 0)
return false;
else
return true;
}
catch(Exception __gc* e)
{
throw
;
}
}
int main(int argc, char * argv[])
{
System::Console::WriteLine(isManaged(argv[1]));
}posted on 2003-11-14 15:12:00 by roboo 评论(2) 阅读(1926)
这个星期的事情可是真够多的,我又开始了我的新的项目。
个人方面,VSIP extra SDK beta 已经approved 了,鉴于小马哥的忠告,看来我要好好的测试试用了,不要影响我们整个china区域的approved ratio了
本周很多MVPs已经收到了MSDN宇宙版,而我也在昨天收到了航空信,兴致冲冲的打电话,没想到也是一个GG,想和MS MM聊天的机会都没有,看来是RPWT呀
当然这个星期IT最引人注目的事情当然是Office System的发布了,至于blog方面,木子美同学掀起的新一轮冲击波导致blogcn目前仍然没有办法正常访问,可怜N多的人的blog心情全部被毁掉了。
本周还有一些其他的事情值得关注。
New SQL Server Admin Tools. ZDNet reports that Microsoft has released a tool to scan a database and provides guidelines on how to best configure and maintain SQL Server databases for better performance. Further tools are expected for the admin of Yukon.
Microsoft releases 4 critical security patches. MS have released a cumulative patch to fix an Internet Explorer DHTML flaw that can be triggered by getting a user to click a specially formatted link, which allows an attacker to save a file on the user's computer without the user accepting the download. Another involves a bug in the way IE deals with an XML object which would allow the attacker to read files from a known location.
Internet Explorer Service Pack 2 to block pop-up ads, reports ZDNet. Browsers like Mozilla do this already, or IE users with the Google toolbar can block pop-ups. If a future IE comes ready-equipped, it could mean many users would have no need to download the Google toolbar and therefore they wouldn't start using Google instead of the default MSN search. This could also be bad news for on-line advertisers, who are showing a steady rise in revenue; for the second quarter of 2003, revenues were $1.66 billion, up 14 percent from the same period a year ago, and nearly 2 percent higher than in the first quarter, reports internetnews.com.
More IE news: the U.S. Patent and Trademark Office are re-examining the Eolas patent for a browser plug-in (see report on our sister site) and wondering whether they were correct to grant a patent in the first place. “A substantial outcry from a widespread segment of the affected industry has essentially raised a question of patentability with respect to the .. patent claims,” Stephen Kunin, the USPTO's deputy commissioner for patent examination policy said.
BTW:
没有想到新闻组上的一个post会给Grace MM带来这么多的工作。再次表示感谢。
本周还是腐败加外出的季节,大家外出的时候一定要记住:出门在外,路边的野花不要采。。
posted on 2003-11-14 10:24:00 by roboo 评论(0) 阅读(1297)
今天给我们公司一个同事培训Visual Studio 2003 ,前面的VC++.Net Managed C++,winform..进行的都不错,但是到了webform 问题就不断,先是没有办法创建FrontPage Extension,后来在sample的时候竟然犯了这样的错误
DateTime dd=Calendar1.SelectedDate
我的codebehind 是vb 呀,老大。害得苯帽帽,蜘蛛以及Zee 迷惑不已
看来脑子不够用了。
posted on 2003-11-12 17:52:00 by roboo 评论(0) 阅读(1390)
在微软商店买的方向盘到了,但是由于电源是北美电源,所以这里是没有办法用的,如果用的话,就会和苯猫猫一样。。。。
如果要用的话,有两种办法,一种是在市场上买一个220-->110V的电源转换器,这样的好处是可以尽可能的接很多的设备,只要买一个足够大功率的。但是这样也有一个缺点,我们国家的交流电是50Hz的,而微软的电源是为60Hz设计的,因此会对电源的寿命有所影响。
再一个办法就是买一个国内生产的12V的电源,但是在我们这里是没有办法买到微软的方向盘那样的公头,所以需要进行一定的改造。改造的方法就是将微软原来的电源上的那个电线取下来,建议大家打开盖子,然后再用,因为这样从安全性上和美观上都比较好。但是打开盒子是一个问题,因为微软的这个盒子密封的非常好,没有办法直接打开。我只好采取用锯子稍微据一个小口(这个位置的选择很重要,建议大家在角角),然后用平板起子翘开,只管用劲就可以了。剩下的就是烙铁的事情了。如果有条件,大家应该将微软的电源后面那个板子用到新买的电源上,那个是整流电路,效果不错,比我买的那个要好。
我向大家推荐第二种方法,可以选取电源前面有一截线那样的,可以节省接线板的位置。我经过自己的亲自使用,效果很好的说。
posted on 2003-11-11 17:32:00 by roboo 评论(10) 阅读(2684)
ASP.NET 上N多的人都在讨论Google,我给大家总结一下
Google from Visual Studio .NET

Whitepapers written by Googlers 可以让大家看看google 想干什么
BTW:
今天博客堂和blogcn 怎么都上不来? 开心原来不是说MS打算赞助服务器吗?
posted on 2003-11-11 11:46:00 by roboo 评论(7) 阅读(1822)
还是老老实实用管理工具吧
直接在w.bloggar上面没有办法输入中文,而且这款软件的确在支持中文方面做的不够。
为什么我们不鼓掌欢迎开心给我们来做一个中文版本的blog发布工具呢?
如何使用w.bloggar发布blog 参照下面的内容。
1. 下载 http://www.wbloggar.com/download/ 我们在这里可以看到七种语言版本,暂时还没有支持中文的版本
2. 由于设置的时候,需要设置发布所需要的API的位置,请教开心后在这里找到http://scottwater.com/dottext/posts/9417.aspx
3. 不过由于老大全部是图片,我把文字地址给大家列出来,大家Ctrl+C和Ctrl+V 就可以了
/yourname/services/metablogapi.aspx 大家把这里的换成你的account就可以了
大家就这个问题进行交谈,这样才是真正的blog生活,否则真的和Forum没有什么区别了。
如果可以,我觉得博客堂应该可以支持email发布blog内容
posted on 2003-11-10 14:34:00 by roboo 评论(5) 阅读(1704)
posted on 2003-11-10 14:16:00 by roboo 评论(1) 阅读(1354)
在MFC下创建一个Service应该是一件不太容易的事情,而在dot net环境下这个是一件非常容易的事情,CodeProject 上有一篇非常详细的文章
How To Create a NT(Win) Service Using C++ with Managed Extensions 但是这个例子以及codeprject上的一些其他文章中讲解的NT service 都需要利用InstallUtil 这个工具来加载服务或者斜载服务。今天在Ashutosh Nilkanth's .NET Blog 上看到了一篇文章,就是讲的关于HowTo: Write a Self-Installing Service
另外有一个问题,Is Longhorn "Managed"?
BTW:
ms shop 订购的方向盘到了,很拉风,建议大家购买。
posted on 2003-11-10 11:08:00 by roboo 评论(2) 阅读(1454)
看来MS确实是越来越开放了,可以更多的获取资源了。
前几天开心还在寻找VSIP开发人员,今天在Andres Aguiar's Weblog上看到了VSIP的最新Beta版本
我记得在TEchED2003上周岚女士说VSIP目前只能使用VC++语言进行开发,看来情况已经有所改变了。最新版本的VSIP SDK 将允许使用Managed C++,C#以及Visual Basic开发了。
而所有的人都可以在MS的站点上免费注册拿到VSIP并且获得VSIP专有的privatenews的支持,我就不贴地址和密码了,因为大家只要免费注册以后都可以得到
If you are interested in participating, please use this special Guest Account log-in information below to access a Beta Nomination Survey on http://www.BetaPlace.com. Note: Using a personal or previously-assigned BetaID will not grant you access to the survey.
Guest Access Account
Guest Beta ID: VSIPExtras
BTW:
谁知道Office System的那个认证服务的软件的名称,MSDN中应该有吧?
还有我这个人爱凑热闹,打算还是参加征文活动吧![]()
posted on 2003-11-06 10:55:00 by roboo 评论(7) 阅读(3239)
在微软动力营的帮助下独一无二的vs2003的安装 里面描述的问题算是解决了。
解决的方法如下:
这个问题可能是由于DCOM没有被正确设置造成的,可以通过一下几个方法解决
1.确认DCOM的权限。
2.赋予SYSTEM帐号所有权限。
3.确认注册表中相关项的权限。
4.整理MSI Service的已经损坏的安全键。
If you are using Windows 2000, make sure that SP 2 is installed.
If you are using Windows NT 4.0, make sure that SP 6 is installed.
If you do not install the appropriate service packs, the steps in the "More Information" section of this article may not work as expected.
http://support.microsoft.com/?id=319624
Grace,不知道这样算不算违反 新闻组 的协议?
posted on 2003-11-05 15:23:00 by roboo 评论(4) 阅读(4442)
Powered by: Joycode.MVC引擎 0.5.2.0
Copyright © 豆腐生活