[英]Datasnap Server on “not installed delphi” PC
i'm a little confused here. 我在这里有点困惑。
i got a Laptop and Android to try the project and i want to make client-server software with that. 我有一个笔记本电脑和一个Android来尝试该项目,我想用它制作客户端服务器软件。
so, i just learn to do it i need to use datasnap method, and i successfully do it with my own Laptop (delphi installed) as server with sqlite as database, and my android as client. 因此,我只是学会做到这一点,我需要使用datasnap方法,并且我成功地将自己的笔记本电脑(安装了delphi)作为服务器,将sqlite作为数据库,而将android作为客户端。
and then i try copy my database in same directory as when my Laptop as server. 然后我尝试将我的数据库复制到与我的笔记本电脑作为服务器时相同的目录中。 and copy my compiled server program (.exe) to other pc without delphi installed, and try again with my android as client, and it fail...
并将我的编译服务器程序(.exe)复制到未安装delphi的其他PC上,然后以我的android作为客户端重试,但失败...
i know it fail when i try to set "clientdataset" provider name properties, and nothing showsup, as when my laptop as server there will be "datasetprovider1" on provider name. 我知道当我尝试设置“ clientdataset”提供程序名称属性时失败,并且没有任何显示,因为当我的笔记本电脑作为服务器时,提供程序名称上将有“ datasetprovider1”。
i don't get it -.- i though i did the same like when my Laptop as server. 我不明白-.-尽管我做的就像我的笔记本电脑作为服务器一样。 is the server PC must have delphi installed?
服务器PC是否必须安装了delphi? or i forgot something to install on server PC?
还是我忘记在服务器PC上安装某些东西?
as for note: i already set the ip destination client to the new ip PC server, i turned off firewall on the new server pc. 至于注意:我已经将IP目标客户端设置为新的IP PC服务器,我关闭了新服务器PC上的防火墙。
any help will be fine, thanks in advance.. 任何帮助都很好,在此先感谢..
You need to copy the midas.dll to the other PC. 您需要将midas.dll复制到另一台PC。 This is needed by the clientdataset.
clientdataset需要此功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.