stand alone file not work properly

hi
i using DisplayDialog method from EditorUtility class
for example :

EditorUtility.DisplayDialog(“error”,“an error ocur”,“ok”,“exit”);

this method working fine in unity environment and show a messagebox with 2 button BUT wen i build standalone windows exe file all of method working fine but just this method not work .
i have this problem with other method of EditorUtility class .
i testing with unity 2.5 and 2.6 .

please help.
thank you for helping.

The name kinda gives it away…it’s an editor utility class; it’s not going to work outside the editor.

–Eric

tank you for reply