error messagebox with cuda

*edit

Oops sorry my mistake, problem was with my code. Can a mod please delete this, thanks.