Jump to content

How to use overbyteICS MidWare as Application Server between Database and UNIGUI Web Server?


wangxuebin

Recommended Posts

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...