Hi,
You are using Origin 7.0, right? The prototype of InputBox function is changed and the example you mentioned cannot run in Origin 7.0. In Origin 7.0, the prototype of InputBox is:
string InputBox(LPCSTR lpcszMsg, DWORD dwOption = 0);
So, you can try the following example in Origin 7.0.
void run_InputBox()
{
string strInput = InputBox("Please enter your name");
printf("You entered: %s\n", strInput);
}
Currently, our latest version is Origin 8.5, you can download a demo version from this page to have a try again.
Penn