D
dfan
Unregistered / Unconfirmed
GUEST, unregistred user!
try
try
datamodule2.Session2.AddPassword('9703lzpq');
~~~~~~~~~~~~~~~~~~~~
{错误信息:project guangpanmanage.ex raised exception class EAccessViolation
with message Access violation at address 004AFCCA in module
'guangpanmanage.exe'.Read of address FFFFFFFF'.Process stopped.
Use Step or Run to continue.}
datamodule2.Table4.Open;
if not datamodule2.Table4.FindKey([edit2.Text,edit1.Text]) then
raise ELoginInvalidInfo.Create('无效输入');
Table4是需要密码的.
因此用到上面划波浪线的一句.
try
datamodule2.Session2.AddPassword('9703lzpq');
~~~~~~~~~~~~~~~~~~~~
{错误信息:project guangpanmanage.ex raised exception class EAccessViolation
with message Access violation at address 004AFCCA in module
'guangpanmanage.exe'.Read of address FFFFFFFF'.Process stopped.
Use Step or Run to continue.}
datamodule2.Table4.Open;
if not datamodule2.Table4.FindKey([edit2.Text,edit1.Text]) then
raise ELoginInvalidInfo.Create('无效输入');
Table4是需要密码的.
因此用到上面划波浪线的一句.