loading
 
getvariable
Anonymous  [29 posts]
14 year
i' cannot get or read any value from roboream using VC++ API
i want to display it on edit control(edit box)
anyone can help me

void CSample_API_AppDlg::OnEnChangeEdit6()
{
    char value[200];
    RR_API rr;
    rr.open("c:\\Program File\\RoboRealm\\RoboRealm.exe",6060);

    if (!rr.connect("localhost"))
    {
        exit(0);
    }
    rr.getVariable(" move",value,200);
    SetDlgItemText(IDC_EDIT6,value);
}
Anonymous 14 year
mohd,

Try removing the space in " move" to "move".

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index