Page 1 of 1

NXC: RemoteStopProgram doesn't compile

Posted: 17 Dec 2012, 15:36
by rebelego
I try to use RemoteStopProgram(CONN_BT1) but it doesn't compile.
I only get "Error: Unknown or invalid statement".
RemoteStartProgram(CONN_BT1, "filename.rxe") works fine.
I use BrixCC v3.3.

Re: NXC: RemoteStopProgram doesn't compile

Posted: 18 Dec 2012, 03:20
by mcsummation
The following worked for me:

Code: Select all

task main()
{
RemoteStartProgram(CONN_BT1, "filename.rxe");
RemoteStopProgram(CONN_BT1);
}
I am using BricxCC 3.3.8.10

Re: NXC: RemoteStopProgram doesn't compile

Posted: 18 Dec 2012, 14:13
by rebelego
Weird. Doesn't work.
I have build 3.3.8.9 which seems to be the latest here:
http://sourceforge.net/projects/bricxcc/files/bricxcc/

nbc v1.2.1.r4.

Re: NXC: RemoteStopProgram doesn't compile

Posted: 18 Dec 2012, 19:00
by HaWe
http://www.mindstormsforum.de/viewtopic.php?f=25&t=3311

(1) Uninstall all old BCC versions

(2) install latest Bricxcc:
https://sourceforge.net/projects/bricxcc/files/bricxcc/

(3) Install BricxCC Bugfix Update:
http://bricxcc.sourceforge.net/test_releases/ (extract + copy into BCC folder),
upload the fw contained on to your NXT

Re: NXC: RemoteStopProgram doesn't compile

Posted: 18 Dec 2012, 19:01
by mattallen37
Download the latest test release (as of writing this, it's 20121101, and can be downloaded from here) and install it over the current installation. That will update BCC to the latest available version. I also suggest you update your NXT's FW to the FW that's included in the test release.

Re: NXC: RemoteStopProgram doesn't compile

Posted: 18 Dec 2012, 19:11
by mattallen37
In regard to Helmut's post, I must disagree. You already have the latest official release of BCC installed, so it's just a matter of installing the test release over it.

Re: NXC: RemoteStopProgram doesn't compile

Posted: 18 Dec 2012, 21:45
by HaWe
In regard to matt's post, I must disagree. It was sort of general quick guide.
Image

Re: NXC: RemoteStopProgram doesn't compile

Posted: 19 Dec 2012, 09:34
by rebelego
Installing the test release solved it. Thanks.