Sign in to follow this  
Followers 0
rynodyno

Please HELP A NEWBIE!

3 posts in this topic

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!

Share this post


Link to post
Share on other sites



It's likely that the DllCall failed. Check for @error before trying to use the result.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0