This is your resource to discuss support topics with your peers, and learn from each other.
4 hrs later....
Given the content at end of thread:
perhaps someone from BB can fix the 'documentation' at
so the exaple code might actually work.
In particular the C++ code as copied below on the page is just wrong.