André,
Manuel's code is not simple.
Please use FWH function SetResDebug() as explained here:
http://wiki.fivetechsoft.com/doku.php?i ... etresdebug
http://wiki.fivetechsoft.com/doku.php?i ... ts_handles
and please let me know what you get
many thanks