Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» CnWizards IDE 专家包与TNT组件冲突?
‹‹ Last Thread
|
Next Thread ››
44
2/3
‹‹
1
2
3
››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: CnWizards IDE 专家包与TNT组件冲突?
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#21
Post at 2006-11-11 10:03
Profile
|
Blog
|
P.M.
有没有人用TNT的哦,我怎么就老出错?现在根本无法用。。。今天尝试调试看看。。。还没有正式编译过专家包,都不知道会不会编译不到呢。。。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#22
Post at 2006-11-11 10:14
Profile
|
Blog
|
P.M.
专家包编译倒不难,打开相应的dpr编译应该就行了。
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#23
Post at 2006-11-11 10:16
Profile
|
Blog
|
P.M.
编译一次OK
你调试时有没有确定大概是与哪个专家冲突了?
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#24
Post at 2006-11-11 15:29
Profile
|
Blog
|
P.M.
终于跟到部分问题所在:
TabOrder那个专家,设计期显示Tab Order关闭即可。
产生问题的主要操作过程:
窗口使用一些Tnt组件,让它在打开状态,直接关闭单元编辑窗口或者工程。
曾经试过在DrawControlTabOrder函数增加两处调试,发现上面操作后,并不会来这里:
begin
{$IFDEF Debug}
CnDebugger.LogMsg('TCnTabOrderWizard.DrawControlTabOrder');
{$ENDIF Debug}
if Active and FDispTabOrder and not HookSvcs.IsDesignRoot(WinControl) and
not HookSvcs.IsDesignContainer(WinControl) and
(csDesigning in WinControl.ComponentState) and Assigned(WinControl.Parent)
and (WinControl.Owner is TWinControl) and IsWindowVisible(WinControl.Handle) then
begin
{$IFDEF Debug}
CnDebugger.LogMsg('TCnTabOrderWizard.DrawControlTabOrder.2');
{$ENDIF Debug}
本来一开始这样处理正常的,后来继续调试,运行我的那个工程应用程序,马上退出应用程序,又再按上面的操作,倒,又出错了:(
今天先到这里了。。。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#25
Post at 2006-11-11 20:16
Profile
|
Blog
|
P.M.
你这边的调试结果里,是不是TabOrder关闭显示就不会出现这个错误?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#26
Post at 2006-11-12 08:15
Profile
|
Blog
|
P.M.
问题可以复现了,在高级设置中,把专家包设置成只有TabOrder专家创建的时候也仍然会出错。而让所有专家都不创建则不会出错。
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#27
Post at 2006-11-13 15:18
Profile
|
Blog
|
P.M.
:(
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#28
Post at 2006-11-13 15:47
Profile
|
Site
|
Blog
|
P.M.
辛苦了!
没想到居然会是TabOrder的问题。有空我来检查一下,争取尽快修正这个问题。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
my58876448
普通灌水员
UID 2118
Digest Posts 0
Credits 58
Posts 58
点点分 58
Reading Access 10
Registered 2006-4-20
Status Offline
#29
Post at 2006-12-1 08:39
Profile
|
Blog
|
P.M.
TURBODELPHI窗体中放个TSpTBXTitleBar放个TSpTBXPanel,编译一下,退出Delphi时会出错
TURBODELPHI窗体中放个TSpTBXTitleBar放个TSpTBXPanel,编译一下,退出Delphi时会出错(不编译我没试呢)
my58876448
普通灌水员
UID 2118
Digest Posts 0
Credits 58
Posts 58
点点分 58
Reading Access 10
Registered 2006-4-20
Status Offline
#30
Post at 2006-12-12 08:25
Profile
|
Blog
|
P.M.
唉,什么时候能解决啊!!!
唉,什么时候能解决啊!!!
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#31
Post at 2006-12-29 16:33
Profile
|
Blog
|
P.M.
有沒有什麼進展這個?
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#32
Post at 2006-12-29 16:58
Profile
|
Blog
|
P.M.
实在复杂,估计影响了内存的某些内容的排列,目前还没进展。
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#33
Post at 2006-12-29 18:12
Profile
|
Blog
|
P.M.
真是辛苦你們了。。。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#34
Post at 2007-1-12 00:03
Profile
|
Blog
|
P.M.
我们的277版的CnWizards针对这个冲突进行了一些修改,目前在我们的机器上问题似乎没再发生了。
能否下载帮我们多测试几下?
my58876448
普通灌水员
UID 2118
Digest Posts 0
Credits 58
Posts 58
点点分 58
Reading Access 10
Registered 2006-4-20
Status Offline
#35
Post at 2007-1-12 08:38
Profile
|
Blog
|
P.M.
这两天我就试,辛苦了
辛苦了
my58876448
普通灌水员
UID 2118
Digest Posts 0
Credits 58
Posts 58
点点分 58
Reading Access 10
Registered 2006-4-20
Status Offline
#36
Post at 2007-1-12 10:14
Profile
|
Blog
|
P.M.
初步使用没发现问题。将继续试用
初步使用没发现问题。将继续试用
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#37
Post at 2007-1-12 10:49
Profile
|
Blog
|
P.M.
To my58876448:
"TURBODELPHI窗体中放个TSpTBXTitleBar放个TSpTBXPanel,编译一下,退出Delphi时会出错"
——你说的是这个问题不复现了吧?
To jAmEs_:
TNTPageControl的问题也麻烦下载测测看?
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#38
Post at 2007-1-12 12:08
Profile
|
Blog
|
P.M.
嘿嘿,辛苦你们了!
我已经下载使用中,暂时没有发现问题,真是太好了!
能否说说什么原因,呵呵
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#39
Post at 2007-1-12 13:06
Profile
|
Blog
|
P.M.
原因确实是TNT自身的挂接机制和CnWizards中挂接释放时的冲突,我们调整了释放顺序等。修改详情可以看看CVS的提交记录:
提交 [1698] : * [公共单元] 修正CnWizControlHook与TNT系列控件不兼容的问题,待验证。
链接地址:
http://www.cnpack.org:8008/cnpack/chngview?cn=1698
my58876448
普通灌水员
UID 2118
Digest Posts 0
Credits 58
Posts 58
点点分 58
Reading Access 10
Registered 2006-4-20
Status Offline
#40
Post at 2007-1-12 15:02
Profile
|
Blog
|
P.M.
是的,我使用时遇到的问题已经没有了,辛苦辛苦
继续支持
44
2/3
‹‹
1
2
3
››
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 18:46
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008502 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats