×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Based on the code that you point us to on GitHub, you should not need to
null-terminate the first parameter ("PW_BUF" in your prototype.)?? You
also should not define options(*String).

What options(*string) does is make a copy of your input parameter with
x'00' appended.? This isn't right in this case because you want to use
the PW_BUF parameter for output, and if the C code changes a copy of
your string, you'll never see the output.


Absolutely right! My suggestion was based on the assumption that he was
using a function like strlen() for example, which parameter is a const char*

JS

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.