pinkfoyd Posted October 9, 2007 Posted October 9, 2007 (edited) Hi all, Two of my favorite plugins, captdll and binary doesn't work anymore.... i use last stable and beta of autoit if i launch the binary exemple, it return nothing ( the script exit with no error ) if i launch the captdll exemple, it return only the full screen capt ( the script exit with no error ) Please, i need this two wonderful plugins for my work. Thk ! ================================= EDIT, here is another exemple of this strange "bug" When i run this script : #include <GuiConstants.au3> #include <Constants.au3> $dll = DllOpen( @ScriptDir & "\captdll.dll") While 1; endless loop ( process kill by another app ) $result = DllCall($dll, "int", "CaptureScreen", "str", "c:\temp\capture.jpg", "int", 85) sleep(3000) Wend DllClose($dll) Despite the While 1 loop, the script work one time only and exit withou error : >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "D:\spy_screen.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams +>11:08:20 Starting AutoIt3Wrapper v.1.9.3 >Running AU3Check (1.54.9.0) from:C:\Program Files\AutoIt3 +>11:08:20 AU3Check ended.rc:0 >Running:(3.2.8.1):C:\Program Files\AutoIt3\autoit3.exe "D:\spy_screen.au3" +>11:08:21 AutoIT3.exe ended.rc:0 +>11:08:22 AutoIt3Wrapper Finished >Exit code: 0 Time: 1.742 Edited October 9, 2007 by pinkfoyd
Moderators SmOke_N Posted October 9, 2007 Moderators Posted October 9, 2007 That's some name for your app... Spy_Screen <.< DllCall changed a while ago... check the documentation in the beta help file you downloaded... pay attention to cdecl Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
pinkfoyd Posted October 10, 2007 Author Posted October 10, 2007 (edited) That's some name for your app... Spy_Screen <.<DllCall changed a while ago... check the documentation in the beta help file you downloaded... pay attention to cdeclBig Thanks SmOke_N ! The two DLL work again ! cdecl did it !And for the record, i am developping an application to remotely deploy software and i have a tiny app named spy_screen which capture the remote screen to be updated of the process. Nothing else Thanks again !!! Edited October 10, 2007 by pinkfoyd
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now