I have developed an application using Borland C++ Builder5.0 accessing Sybase 11 on Windows Professional 2000 using ADO (Connection Object & running ADOStoredProc). The same 32 bit application needs to be ported to WinXP. The executable gives an error "ADOSP1 Parameter "@login_id" not found". I have checked that the parameter is specified correctly in the code. Question: Is there some special driver/dll/libs required for Sybase/Borland ADO/parameters. (I have already installed Sybase ODBC11 & Sybase Open Client). Also ran mdac2.7 that supports ADO.

Portion of Sample code:
---------------------------
if (!ADOConnect())
return;
try{
ADO_SP_Close(ADOSP1);
ADOSP1->ProcedureName = "hldg_PasswdChk";
ADOSP1->CursorType = ctOpenForwardOnly;
ADOSP1->CursorLocation = clUseServer;
ADOSP1->Parameters->Refresh();
ADOSP1->Parameters->ParamByName("@LoginId")->Value = edtLoginId->Text;
ADOSP1->Open();
...
}