The proper way is
$return = $dec->Call($strDatabase, $strLoginUser, $strLoginPwd)
You've even shown this works in (2).
If that doesn't work, your information about the function is wrong or your conclusion is wrong about it being related to your calling convention is wrong. Go verify those.
In reply to Re^5: Call C DLL Functions in Perl
by ikegami
in thread Call C DLL Functions in Perl
by sraghu_rs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |