Mauricio
06-11-2007, 07:05 AM
Hi all,
Following with my first script I need to encrypt a variable. I created a dll with a function, MCS_Encrypt and I call it in this way:
Call DLL "c:\Wsource\NEW_MCS_TEST\dlls\encrypt_test.dll" -- Function "MCS_Encrypt" (STRING,STRING) (%MCS_CLAVE%,%MCS_PASSWORD%)
The function returns a string and I would like to store this value in a variable (and then assign to %MCS_PASSWORD%).
I know that the prototype for my function could be (STRING, *STRING) but, for other reason, I can't use it.
Thanks in advance.
Mauricio
Following with my first script I need to encrypt a variable. I created a dll with a function, MCS_Encrypt and I call it in this way:
Call DLL "c:\Wsource\NEW_MCS_TEST\dlls\encrypt_test.dll" -- Function "MCS_Encrypt" (STRING,STRING) (%MCS_CLAVE%,%MCS_PASSWORD%)
The function returns a string and I would like to store this value in a variable (and then assign to %MCS_PASSWORD%).
I know that the prototype for my function could be (STRING, *STRING) but, for other reason, I can't use it.
Thanks in advance.
Mauricio