D5's Bug!(0分)

  • 主题发起人 主题发起人 redforks
  • 开始时间 开始时间
R

redforks

Unregistered / Unconfirmed
GUEST, unregistred user!
1. 创建一个动态连接库
2. 选择Run/Parameters
3. 在Host Application中输入一个宿主程序名称
4. 选择Load按钮
5. 当程序因为断点暂停后,再次用运行命令时,会出现
"Cannot debug project unless a host application is defined.
Use the Run|Paramenters... dialog box."
 
Sorry I never told you
All I wanted to say
And now it's too late to hold you
'Cause you've flown away
So far away
Never had I imagined
Living without your smile
Feeling and knowing you hear me
It keeps me alive
Alive
And I know you're shiningdo
wn on me from Heaven
Like so many friends we've lost along the way
And I know eventually we'll be togetherOne sweet day
Darling, I never showed you
Assumed you'd always be there
I took your presence for granted
But I always cared
And I miss the love we shared
And I know you're shiningdo
wn on me from Heaven
Like so many friends we've lost along the way
And I know eventually we'll be together
One sweet day
Although the sun will never shine the same
I'll always look to a brighter day
Lord I know when I lay medo
wn to sleep
You will always listen as I pray
And I know you're shiningdo
wn on me from Heaven
Like so many friends we've lost along the way
And I know eventually we'll be together
One sweet day
And I know you're shiningdo
wn on me from Heaven
Like so many friends we've lost along the way
And I know eventually we'll be together
One sweet day
Sorry I never told you
All I wanted to say

 
sorry,错了,那是one sweet day 的歌词,应该是这个:
ADOConnection 折腾了我一下午:-(
在程序设计期间把,ADOConnection.Connected 设置为 False,
在MainDMOnCreate中输入以下代码://数据模板
ADOQuery1.Open;
按经验,我觉得应该可以通过。果然,程序运行正常,没有
任何异常被触发。可好象没有数据返回:-( 由于我的SELECT
比较复杂,加之我SQL比较烂,查了半天,没查出毛病。
后发现在程序设计时把Connected设置为True,或者,把代码
修改如下:
ADOConnection.Connected := True;
ADOQuery1.Open;
一切正常。
 
时间太久,强制结束。 wjiachun
 

Similar threads

A
回复
0
查看
949
Andreas Hausladen
A
A
回复
0
查看
831
Andreas Hausladen
A
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
1K
DelphiTeacher的专栏
D
后退
顶部