For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > February 2006 > [VW7.4] Problems loading an ExternalInterface from Store









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [VW7.4] Problems loading an ExternalInterface from Store
Andre Schnoor

2006-02-16, 7:03 pm

When loading an ExternalInterface subclass from Store, its external
dictionary is not initialized, i.e. the methods providing typedefs and
structs all return nil. After evaluating

MyExternalInterface recompileMethods

everything is fine again. This however, is clearly not very elegant.
What am I doing wrong? It seems this doesn't happen with other external
interfaces (e.g. NTPrinterInterface), but I can't seem to see any
difference between them regarding class definition or other details.

This problem didn't occur in 7.3. Has something important changed since
then?

Any help is appreciated.

Andre Schnoor


Andre Schnoor

2006-02-16, 7:03 pm

Oops, sorry for bothering you all. It was my own fault - the external
dictionary was overridden in another package for some reason.

Andre


> When loading an ExternalInterface subclass from Store, its external
> dictionary is not initialized, i.e. the methods providing typedefs and
> structs all return nil. After evaluating
>
> MyExternalInterface recompileMethods
>
> everything is fine again. This however, is clearly not very elegant.
> What am I doing wrong? It seems this doesn't happen with other external
> interfaces (e.g. NTPrinterInterface), but I can't seem to see any
> difference between them regarding class definition or other details.
>
> This problem didn't occur in 7.3. Has something important changed since
> then?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com