Skip navigation
ttfx
Currently Being Moderated

Variables in Alchemy Library

Jan 3, 2012 8:24 AM

Hello,

 

Is it possible to memorize some data points in an Alchemy library ?

 

In a first time I call a function of the Alchemy library to store points; and then later I call another function to make some computations on these points.

 

Thank you,

Christophe

 
Replies
  • Currently Being Moderated
    Jan 3, 2012 8:28 AM   in reply to ttfx

    Memorize?  You mean store data in memory?  Yes, of course.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 4, 2012 8:03 AM   in reply to ttfx

    Yes, you will need to pass back a pointer to the AS side.  You can pass it as a UINT, so when you com back to do some computations you can access the memory you have stored.  If you look at the crypto examples you can see that being done there.

    Remember to eventually release the memory when you are done, in some function.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points