Not outside the application. The only way I can think of is using a dll and JNI.