hi,everyone:
I want use overbyteICS MidWare as Application Server between Database and UNIGUI Web Server,I try as following:
1,put a TAppSrvClient and a TMWBuffer on UniMainModule;
2,put an unibutton on MainForm,in its click method,I wrote:
UniMainModule.AppSrvClient1.Port:='2106'; UniMainModule.AppSrvClient1.Server:='127.0.0.1'; UniMainModule.AppSrvClient1.FunctionCode:='unidacSQL'; UniMainModule.AppSrvClient1.Send;
But this way can not work,showing error msg:Invalid arugment (#10022 in WSAAsyncSelect).
However,if I put TAppSrvClient and a TMWBuffer on UniServerModule,it can works!
But UniServerModule is global,I think I should not put overbyteICS MidWare components on it.
Where is my fault?
Anyone can help me? Thanks in advance!