IM sorry. My plugin can only be used to call into rb with frunction pointers or rb like prototypes of functions. It cant call anything outside rb. Well, actually, if you can get a pointer to the function you want to call, you might be able to use it for that.

AC

On 25-Aug-06, at 10:34 AM, Daniel Stenning wrote:

Thanks,

 Ill take a look.

Does your plugin only work within the OSX Cocoa framework, or could I use it to call functions via function pointer obtained standard C dylibs and
DLLS  as well ?


On 25/8/06 13:43, "Alexander Cohen" <[EMAIL PROTECTED]> wrote:

You can do that in my CFDelegate plugin. Available at toomuchspace.com

AC

On 25-Aug-06, at 6:15 AM, Daniel Stenning wrote:

Christian,

Any chance of adding a feature to your plugin collection to allow

Exernal functions referenced by a Ptr function pointer to be called
from RB?

Maybe A class for example that can take the ptr and be set up with
all the
arguments to put on the stack prior to calling via the Ptr .

?


On 25/8/06 10:40, "Christian Schmitz" <[EMAIL PROTECTED]>
wrote:

Alexander Cohen <[EMAIL PROTECTED]> wrote:

Does anyone know of any code hacks that would allow a developer to
instantiate a custom class from within the IDE by name?

example:
dim instance as Object = NewInstanceOfObjectByName ("MyCustomClass")

I've this in my plugins for some time now:

NewInstanceMBS(ClassName as string) as object

Can be used like this:

dim o as Object
dim d as Dictionary

o=NewInstanceMBS("Dictionary")
if o isa Dictionary then
  d=Dictionary(o)
end if

Gruß
Christian


_______________________________________________
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>

_______________________________________________
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>



_______________________________________________
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>

_______________________________________________
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>

Reply via email to