The PowerTREE enquiry functions are declared to expect BYVAL STRING parameters, so using dynamic strings is by far the easiest way to use the library. However, using BYCOPY with an ASCIIZ will also work fine for all <U>enquiry</U> functions, for example (FindFirst, FindNext, etc):
Code:
CALL PowerTREEFunction(BYCOPY keyvalue, ...) ...or CALL PowerTREEFunction(keyvalue + "", ...) ...or CALL PowerTREEFunction((keyvalue), ...)
If you have further problems that cannot be explained using pseudocode, please contact Tech Support rather than posting the code here.
Thanks!
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment: