Usually I am pretty good at coding different perl scenarios, but I am at a loss on this one.. please help!
So I received a dll that I dropped on my machine. and was provided with the function call
void XYZDecrypt(char *value,char *key, BSTR *encrypted)
I figured this would be quite easy as I would just..
use Win32::API;
$function = Win32::API->new( 'C:\NLSClientLibrary\x86\NLSClientLibrary
+.dll', 'void XYZDecrypt(char *value,char *key, BSTR *encrypted)', );
print $function->Call('','8B3A06617FEC4276A5711FBA4861B467', '[000001]
+C0808FC9B3062D91E7B9B1D9A7B79216' );
but apparantly it is not that easy as I get errors from an "unknown paramater type BSTR*' as well as a dialog box that pops up indicating that the perl command line interpreter has stopped working.
Can anyone help?