Hi Jacek, + + hres = get_frame_by_name(top_window, target, TRUE, &ret_window); + if(FAILED(hres) || !window) { + *use_new_window = TRUE; + return NULL; + } Is there a typo here? Is "!window" suppose to be "!ret_window"? Thanks for the work!