Board logo

Subject: CnWizards 引起 Delphi 关闭文件时( File --> Close All )的错误 [Print This Page]

Author: hiscaler    Time: 2005-10-10 22:54     Subject: CnWizards 引起 Delphi 关闭文件时( File --> Close All )的错误

  启用 CnWizards 后,用 Delphi 打开一个工程文件,操作一些时间后,点 File --> Close All 关于所有文件,会出现 'Invalid pointer operation'的错误提示,不能关闭所有打开的工程文件,多次点 Close All 后 Delphi 会自动关闭掉。重新安装 Delphi 后也会出现此现象。禁用 CnWizards 后没有此现象出现。 0.7.8.143及最新10月9日构建的版本均会出现此错误提示。控件包只安装了 Tnt Unicode Controls 和 Tnt LX Controls。不知道是什么原因,麻烦解答。谢谢!!!
=====================================================================================
以下为利用 CnWizards 倒出的一些信息,供参考:
-------------------------------------------------------------------------------------
设置:
  OS: Windows XP 5.1 (Build 2600: Service Pack 2)
  CnWizards: CnWizards_D7.DLL Ver: 0.7.8.143 Build 2005.08.31
  IDE: ideD700 CSS
  ComCtl32: 5.82.2900.2180

已安装的专家:
  C:\Program Files\Borland\Delphi7\Bin\EXPTDEMO.DLL = ExptDemo
  C:\Program Files\CnPack\CnWizards\CnWizards_D7.DLL = CnWizards_D7

已安装的包:
  Borland Integrated Translation Environment = c:\program files\borland\delphi7\Bin\dclite70.bpl
  Internet Direct (Indy) for D7 Property and Component Editors = c:\program files\borland\delphi7\Bin\dclindy70.bpl
  Borland Internet Components = c:\program files\borland\delphi7\Bin\dclnet70.bpl
  Borland Standard Components = C:\Program Files\Borland\Delphi7\Bin\dclstd70.bpl
  Borland DataSnap Connection Components = c:\program files\borland\delphi7\Bin\dclmcn70.bpl
  Borland MyBase DataAccess Components = C:\Program Files\Borland\Delphi7\Bin\dclmid70.bpl
  Borland Database Components = C:\Program Files\Borland\Delphi7\Bin\dcldb70.bpl
  Borland SOAP Components = c:\program files\borland\delphi7\Bin\dclsoap70.bpl
  Borland Sample Imported ActiveX Controls = c:\program files\borland\delphi7\Bin\dclocx70.bpl
  Borland Sample Components = c:\program files\borland\delphi7\Bin\dclsmp70.bpl
  Borland dbExpress Components = c:\program files\borland\delphi7\Bin\dcldbx70.bpl
  Borland SimpleDataset Component (DBX) = c:\program files\borland\delphi7\Bin\dcldbxcds70.bpl
  Borland Web Wizard Package = c:\program files\borland\delphi7\Bin\DBWEBXPRT.BPL
  Borland BDE DB Components = C:\Program Files\Borland\Delphi7\Bin\dclbde70.bpl
  Borland SQL Explorer UI Package = C:\Program Files\Borland\Delphi7\Bin\dbx70.bpl
  Borland InternetExpress Components = c:\program files\borland\delphi7\Bin\dclwbm70.bpl
  Internet Explorer Components = c:\program files\borland\delphi7\Bin\dclie70.bpl
  Borland WebSnap Components = c:\program files\borland\delphi7\Bin\dclwebsnap70.bpl
  Borland ADO DB Components = c:\program files\borland\delphi7\Bin\dclado70.bpl
  InterBase Data Access Components = c:\program files\borland\delphi7\Bin\DCLIB70.bpl
  TeeChart Components = c:\program files\borland\delphi7\Bin\dcltee70.bpl
  Borland Decision Cube Components = c:\program files\borland\delphi7\Bin\dcldss70.bpl
  Borland CLX Database Components = c:\program files\borland\delphi7\Bin\dclclxdb70.bpl
  Borland CLX Standard Components = C:\Program Files\Borland\Delphi7\Bin\dclclxstd70.bpl
  Borland Editor Script Enhancements = c:\program files\borland\delphi7\Bin\dclsmpedit70.bpl
  Borland Control Panel Applet Package = c:\program files\borland\delphi7\Bin\applet70.bpl
  Borland Editor Emacs Enhancements = c:\program files\borland\delphi7\Bin\dclemacsedit70.bpl
  Borland ActionBar Components = c:\program files\borland\delphi7\Bin\dclact70.bpl
  Borland Markup Language Wizards = c:\program files\borland\delphi7\Bin\dclmlwiz70.bpl
  Delphi 1.0 Compatibility Components = c:\program files\borland\delphi7\Bin\dcl31w70.bpl
  Borland Interbase Event Alerter Component = C:\WINDOWS\system32\ibevnt70.bpl
  Shell Control Property and Component Editors = c:\program files\borland\delphi7\Bin\dclshlctrls70.bpl
  Intraweb 5.0 Design Package for Delphi 7 = c:\program files\borland\delphi7\Bin\dclIntraweb_50_70.bpl
  Microsoft Office XP Sample Automation Server Wrapper Components = c:\program files\borland\delphi7\Bin\dclofficexp70.bpl
  Tnt Unicode Controls = c:\program files\borland\delphi7\Projects\Bpl\TntUnicodeVcl_D70.bpl
  Tnt LX Controls = c:\program files\borland\delphi7\Projects\Bpl\TntLX_D70.bpl
  Borland User Components = c:\program files\borland\delphi7\Projects\Bpl\dclusr70.bpl

已安装的 IDE 包:
  (Untitled) = $(DELPHI)\Bin\htmlide70.bpl
  (Untitled) = $(DELPHI)\Bin\stride70.bpl
  (Untitled) = $(DELPHI)\Bin\proide70.bpl
  (Untitled) = $(DELPHI)\Bin\delphipro70.bpl
  (Untitled) = $(DELPHI)\Bin\delphide70.bpl
  (Untitled) = $(DELPHI)\Bin\designdgm70.bpl
  (Untitled) = $(DELPHI)\Bin\delphient70.bpl
  (Untitled) = $(DELPHI)\Bin\delphiclxide70.bpl
  (Untitled) = $(DELPHI)\Bin\direct70.bpl
  (Untitled) = $(DELPHI)\Bin\delphivclide70.bpl
  (Untitled) = $(DELPHI)\Bin\MsgInfo70.bpl

No data for \Software\CnPack\CnWizards\Active


CnPack IDE 专家创建状态:
  1 = TCnMessageBoxWizard
  1 = TCnComponentSelector
  1 = TCnTabOrderWizard
  1 = TCnBookmarkWizard
  1 = TCnSrcTemplate
  1 = TCnEditorWizard
  1 = TCnMsdnWizard
  1 = TCnPas2HtmlWizard
  1 = TCnReplaceWizard
  1 = TCnSourceDiffWizard
  1 = TCnStatWizard
  1 = TCnPrefixWizard
  1 = TCnSrcEditorEnhance
  1 = TCnFormEnhanceWizard
  1 = TCnAlignSizeWizard
  1 = TCnPaletteEnhanceWizard
  1 = TCnCorPropWizard
  1 = TCnProjectExtWizard
  1 = TCnCommentCropperWizard
  1 = TCnCpuWinEnhanceWizard
  1 = TCnRepositoryMenuWizard
  1 = TCnDUnitWizard
  1 = TCnIniFilerWizard
  1 = TCnMemProfWizard
  1 = TCnExplorerWizard
  1 = TCnFilesSnapshotWizard
  1 = TCnWinTopRoller
  1 = TCnInputHelper
  1 = TCnProcListWizard
  1 = TCnUsesCleaner

CPU:
  # Processors: 1
  Type: Intel 586 model 11 Stepping 4
  Speed: 866.50 MHz

键盘:
  Type 0: IBM enhanced (101- or 102-key) keyboard with OEM FKeys
  Layout: 中文 (简体) - 美式键盘 (ch) in KBDUS.DLL

本地化信息:
  Number of Digits: '2'
  Leading Zero: '0'
  List Separators: ','
  Grouping: '3;0'
  Decimal Separator: '.'
  Group Separator: ','
  Monetary Grouping: '3;0'
  Monetary Decimal Separator: '.'
  Monetary Group Separator: ','
Author: zjy    Time: 2005-10-12 08:07

多谢您的报告,请看看这个帖子的介绍:
http://bbs.cnpack.org/viewthread.php?tid=291&fpage=1
有空请帮我们测试一下。
Author: hiscaler    Time: 2005-10-12 08:59

  不好意思!测试过了,是 Tab Order 设置工具的问题,禁用就好了,现在可以正常使用。
Author: Passion    Time: 2005-10-12 17:23

说不好意思的应该是我们吧。
我们查查。这个问题看起来隐藏比较深,可能没那么容易查。
Author: hiscaler    Time: 2005-10-12 19:06

  呵呵,太客气了。谢谢你们!!!




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0