开发者

Screenshot of directX app without window

I'm running DirectX application on the server (Windows Server 2003) and it does not have window (normally, running on PC, it has window). The issue is that I want to take screenshot of it from it (and save it to the png picture). When running on PC, this is working:

Surfac开发者_C百科e backBuff = Device.GetBackBuffer(0, 0, BackBufferType.Mono);
SurfaceLoader.Save(fileName, ImageFileFormat.Png, backBuff);        

But on server, the only thing I'm given is black picture (with right size).

Is it possible to take screenshot of directX app without window?

Thank you very much for answers


The solution is quite simple: running the app from script that is running under another user than IIS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜