Hello
api win32
problem of syntax ?
I write: $api->registerfunction("int SKLCheckKillCode(string &killcode, int &product, int &copies, int &killTime) From sk32mmtd.dll");
$rc = $api->SKLCheckKillCode($code, $product, $copies, $killTime);
but $rc, $product, $copies, $killTime are always 0
$code is by val and is passed to this function
$product, $copies, $killTime are by ref and are returned
What is the correct syntax in PHP to use the SKLCheckKillCode function ?
Any help would be appreciated.
Thanks.