Announcement

Collapse
No announcement yet.

PTkey error 481

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    Please note that under the terms of the PowerTREE license, PowerTREE code may not be posted publically, so the code in your first message was removed. Where possible, please use pseudocode instead. Thanks!

    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), ...)
    However, you cannot use these techniques the 'Return Key' function, since it must return a string to the calling code... in this case you must use a proper dynamic string variable.

    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:


  • Matthias Kuhn
    replied
    Hi,

    I feel it is like a quizz...

    Dim keyvalue as string ( quit normal)

    keyvalue="00000" ( init for starting )

    works but is it right ?

    Regards

    Matthias Kuhn



    ------------------

    Leave a comment:


  • Matthias Kuhn
    started a topic PTkey error 481

    PTkey error 481

    Hello,

    I'm trying to use PTkey of ptreed11. Following example:

    [code removed by Administrator]

    Thanks for help

    Matthias Kuhn

    ------------------
Working...
X