Making RenderDocument() abortable

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/09/2009 at 04:00, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R11 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;

---------
Hello,
I use RenderDocument() to render images. Now I'd like to give the user the option to abort rendering. I realized that there is an argument:

> \> BaseThread\* th \>

to RenderDocument(), but I have no idea how to use it properly. Any ideas?