I made a "Connect" button in Borland C++ and I added the following code to the button.
void __fastcall TForm1::Button1Click(TObject *Sender)
{
WideString server_name = Edit1->Text;
MULTI_QI qi[1];
memset(qi,0,sizeof(qi));
COSERVERINFO server_info;
memset(&server_info,0,sizeof(server_info))...