Jump to content
Sign in to follow this  


Recommended Posts


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


$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
Richard Robertson

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.