great it is now partially solved:

I found I was making a mistake setting:
   memmove(PtrOfHdl(src), dest, size)
instead of :
   memmove(dest, ptr(PtrOfHdl(src)), size)
since memmove is defined or Declared as:
   memmove(destPtr as Ptr, srcPtr as Ptr, byteCount as Integer)

so now I am getting sample values for the y axis, however x continue
to be a very bad negative number x = -2147483648

Also if you look what i did with the second argument of memmove I set it to:
    ptr(PtrOfHdl(src))
which is not very elegant? I wonder if I am making another mistake
here or this coding is ok. Please someone hint me here since this can
be done in other languages as casting but I do not know about
RealBasic.

So anyway, I just need to work on the x value and then I will add the
pieces of coding that Erik suggest to support windows while still
maintaining the support for Mac.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to