rynodyno Posted August 4, 2008 Posted August 4, 2008 hello all, i've been trying to decrypt a password by placing a dll file in the root directory, i can't figure out what's wrong with my code! so far i got: $sIn = "pcM3FjOVITt2McV1fmnWbA==" $sOut = "82493689538956134896128904680123480628034652034623905902349064590230495623904690412390469016349 01234906902490226904690" $result = DllCall ("MyCrypt.dll", " ", "MC_decrypt", "str", $sIn, "str", $sOut, "str", 'Synergetic') MsgBox ($result[2]) this throws an exception: Error: Subscript used with non array variable any help greatly appreciated!
Richard Robertson Posted August 4, 2008 Posted August 4, 2008 It's likely that the DllCall failed. Check for @error before trying to use the result.
BrettF Posted August 4, 2008 Posted August 4, 2008 Possibly something with the return value you set. Error check my friend- (@ERROR...) Cheers, Brett;) Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
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