My question to the monks is, why does this my $buffersize= \$wParam; allow my function to work for multiple scans.
If anything is surprising is that it worked the first time without it. The documentation clearly states the variable must contains the size of the allocated buffer when the function is called.
In reply to Re: Win32::API passing a parameter by reference issue
by ikegami
in thread Win32::API passing a parameter by reference issue
by rpnoble419
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |