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>

Reply via email to