2011年9月7日
摘要: Internet信息服务(IIS)管理器->Web服务扩展:所有未知CGI扩展,允许。exe就可以运行了。 阅读全文
posted @ 2011-09-07 23:38 飘啊飘的 阅读(1131) 评论(0) 推荐(0) 编辑
  2011年3月18日
摘要: 在.vmx文件中加入以下命令即可。isolation.tools.getPtrLocation.disable = "TRUE"isolation.tools.setPtrLocation.disable = "TRUE"isolation.tools.setVersion.disable = "TRUE"isolation.tools.getVersion.disable = "TRUE"monitor_control.disable_directexec = "TRUE"monitor_co 阅读全文
posted @ 2011-03-18 04:27 飘啊飘的 阅读(514) 评论(0) 推荐(0) 编辑
  2011年3月10日
摘要: 在不能使用FindWindow等函数的前提下。var g_hwin:THandle;function EnumWindowsProc(H:HWND;lParam:LPARAM):Boolean;stdcall;var PID:DWORD;begin Result:=True; GetWindowThreadProcessId(H,PID); if PID=GetCurrentProcessId then begin g_hwin:=H; Result:=False; end;end;procedure TForm1.btn4Click(Sender: TObject);begin EnumWi 阅读全文
posted @ 2011-03-10 18:47 飘啊飘的 阅读(1443) 评论(0) 推荐(0) 编辑
摘要: function PrintWindow(SourceWindow: hwnd; Destination: hdc; nFlags: cardinal): bool; stdcall; external 'user32.dll' name 'PrintWindow'; procedure TForm1.btn3Click(Sender: TObject);var bmp : TBitmap; wnd : cardinal; rec : TRect;begin wnd := FindWindow(nil, '计算器'); GetWindowRect 阅读全文
posted @ 2011-03-10 18:13 飘啊飘的 阅读(341) 评论(0) 推荐(0) 编辑
  2011年3月4日
摘要: 经常有朋友提这样的问题,“我原来在delphi5或者delphi6中用的很熟的控件到哪里去了?是不是在delphi7中没有了呢?这是不是意味着我以前写的代码全都不能够移植到delphi7中来了呢?是不是我必须学习适应这些新的控件呢?” 现在我就对这一问题进行解释,并对在delphi7中的VCL以及CLX进行一下总结,方便有这方面需求的朋友进行查询 其实,我们在原来版本如D5、D6中使用的控件如Quickrep,FastNet等,在D7中仍然是保留的。只是Delphi没有将他们默认的安装到组件面版中来。这些控件包全部保存在Delphi目录的bin下,文件扩展名为.bpl(共将近60个)。安装这. 阅读全文
posted @ 2011-03-04 22:43 飘啊飘的 阅读(383) 评论(0) 推荐(0) 编辑