C
cnsz
Unregistered / Unconfirmed
GUEST, unregistred user!
socketconnection放在数据模板DMForm中,在应用程序主窗口的onshow事件中对socketconnection进行初始化:
with DMFormdo
begin
SocketConnection1.Close;
SocketConnection1.Address := serverAddr;
SocketConnection1.ServerName := 'VodAppServer.vodRDM';
SocketConnection1.Connected := true;
end;
怎么总是出现错误:Access Violation on..........这样的错误呢?
是不是SocketConnection,ClientDataSet都不能动态地初始化啊
with DMFormdo
begin
SocketConnection1.Close;
SocketConnection1.Address := serverAddr;
SocketConnection1.ServerName := 'VodAppServer.vodRDM';
SocketConnection1.Connected := true;
end;
怎么总是出现错误:Access Violation on..........这样的错误呢?
是不是SocketConnection,ClientDataSet都不能动态地初始化啊