It does not really matter where you call it. I am guessing you are missing some directx stuff that file_for_screen needs to work.(Or maybe it's an engine bug, some other thing)
try updating to latest directx to see if that works.
(does the small test script i posted gives the same error?)
3333333333
Re: is it possible to print the actual screen into a page?
[Re: Quad]
#317218 03/30/1001:0203/30/1001:02
hmmm... the snippet i posted above works on all 3 computers here. I dont know if this is any related but you my try running your app as administrator in vista/win7.
3333333333
Re: is it possible to print the actual screen into a page?
[Re: Quad]
#317473 03/31/1020:4403/31/1020:44