View Single Post
Old Dec 6th, 2007, 10:02 AM   #2
Salem
Programmer
 
Join Date: Nov 2007
Posts: 33
Rep Power: 0 Salem is on a distinguished road
Re: Command line screen capture

Stack corruption can be caused by getting the calling convention wrong.
http://www.hiddensoft.com/autoit3/do...ns/DllCall.htm

Perhaps
DllCall("captdll.dll", "int:cdecl", "CaptureScreen" ....
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Salem is offline   Reply With Quote