"gregarican" <
[hidden email]> wrote in message
news:
[hidden email]...
> There is an ActiveX component that I am trying to use. It requires that
> I pass certain paramters in as linked lists. There are other Collection
> subclasses I have worked with in Dolphin Smalltalk, but not the
> LinkedList subclass. Here's what I need to put into the linked list.
>
> agentDN = '555'
> agentID = '555'
> agentPassword = 'password'
>
> These items would all be put together and passed to the ActiveX method
> as an agentClass object that's a linked list.I have tried creating
> these items as LinkElement objects, but can't figure out how to assign
> them to Link objects and up into the LinkedList object. I see in the
> class comments that Link is an abstract class and should be subclassed
> in order to use it. How can I best go about this scenario?
>
Avoid using LinkedLists, and rather use an OrderedCollection or Array. The
LinkedList implementation in the "standard" Smalltalk collection hierarchy
is really rather awkward, and mainly present as part of the implementation
of the multi-threading subsystem.
How does the Active-X component require the use of a linked list? Are you
sure it isn't expecting the use of its own linked-list type that is
completely unrelated to the LinkedList in Smalltalk?
Regards
OA