realbasic-nug
[Top] [All Lists]

Passing ByRef to Dylib

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Passing ByRef to Dylib
From: James Mullins <rblists at tpg dot com dot au>
Date: Wed, 31 Aug 2005 16:53:44 +1000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi all,

Can someone help me with a method of passing ByRef to a Dylib

Basically I have a variable test (double) that I need to pass by ref to my Dylib.

I am new to writing Dylibs and they are easy and great to start simple projects with.

I am converting an old method across to C in an effort to increase program speed.

Any thoughts on how fast a C file (Dylib) will execute compared to inline RB code?

Is there much overhead in the transfer between the Dylib and RB? Is it worth converting relatively small Methods over or will any performance gains be lost in the transfer?

I hope all that makes sense,

Best,

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

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

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