problems using C# dll
Hi i have following code,
Function loadDll
SetOutPath "C:\Personica\SetUp\decrypt\decrypt\bin\Debug"
clearerrors
strcpy $1 $custId
System::Call 'decrypt::decryptString(t) i(r1) r2' ;'CondMgr::CmGetHotSyncExecPath(t, *i) i(.r0, r1r1).r2'
iferrors err
err:
messagebox mb_ok "Error!"
messagebox mb_ok "Return value: $2"
SetPluginUnload manual
System::Free 0
FunctionEnd
My dll name is decrypt , and it uses decryptString methos which takes one string arg and returns integer value,
here i am getting error message from 'iferr', also the return value gives blank string