Alfred Van Hoek <[EMAIL PROTECTED]> wrote:

> REALnewInstance does not provide a valid instance anymore, and this  
> had to be replaced with
> 
>       REALnewInstanceWithClass(REALGetClassRef("");

REALnewInstance(char*) seems to work for me if the user has this class
in their code, too.

So things like

dim c as CFStringMBS = NewCFStringMBS("Hello")

work, because CFStringMBS is referenced.

> Then, the plugin still does not work, it raises a NilObjectException
> in the Event Loop when clicking on the control or pressing a key when
> the control has the focus, and the Globals pane of the REALbasic IDE
> shows " Modules(3) " but only lists "Encodings" and "Runtime".

I have plugins raising NilObjectExceptions if REALnewInstance is called
with an unknown class name. (not used in the application source)

Gruß
Christian

-- 
Over 1000 classes with 20000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.3. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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