Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 把专家包的rs232控件封装到dll里,调用完成后出错。
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 把专家包的rs232控件封装到dll里,调用完成后出错。
peterml
新警察
UID 40609
Digest Posts 0
Credits 32
Posts 9
点点分 32
Reading Access 10
Registered 2008-6-29
Status Offline
#1
Post at 2009-6-15 13:28
Profile
|
Blog
|
P.M.
把专家包的rs232控件封装到dll里,调用完成后出错。
如题,动态库用delphi2007封装,主程序也是delphi2007,调用函数调用完StartComm函数,返回就出错。跟踪进去看不出有什么逻辑错误。
请教:在动态库里生成TRS232组建,如TRS232.Create(Nil) 行不行?,必须从主程序传递application过来吗(没试过,不知行不行)。动态库里组件都是对象自己create生成的,没有用form放入可视控件的方式。
我的目的是把访问串口的控件封装到dll里给别人用,别人就不需要知道串口用什么控件也不用安装专家包了。请高手指教。可通过邮箱联系:email:
peterml@sohu.com
[
本帖最后由 peterml 于 2009-6-15 13:30 编辑
]
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 09:49
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.013322 second(s), 9 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