realbasic-nug
[Top] [All Lists]

Re: Turning Integers into MemoryBlocks?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Turning Integers into MemoryBlocks?
From: Thomas Reed <tareed at bitjuggler dot com>
Date: Tue, 31 Aug 2004 10:42:35 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <86BE5A62-FB59-11D8-9A45-000393C0FE92 at 006 dot co dot uk>
On Aug 31, 2004, at 10:24 AM, Charlie Boisseau wrote:

I am attempting something using declares and callbacks. I remember someone on the lists (Joe or Jon I think) saying that you had to put all the parameters' data types as integers.

What routine are you calling, and what does your code look like? I have a number of callback routines that are defined to return MemoryBlocks, and they work just fine. I'd be extremely surprised if you couldn't use MemoryBlock as a parameter type in a callback as well.

-Thomas

Personal web page: <http://homepage.mac.com/thomasareed/> My shareware: <http://www.bitjuggler.com/> Free REALbasic code: <http://www.bitjuggler.com/extra/>

There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>