> Hi all,
>
[quoted text clipped - 3 lines]
>
> Any help much appreciated.
Please try to be more specific about your problem. Dumping a bunch of code
and saying "I'm having a problem" makes it difficult to help you. Provide
as much information about the problem as you can, such as whatever
happened that made you think you have a problem in the first place, any
error messages that occurred, what you thought should happen, what
actually did happen, etc.
> --- get value off of array
>
[quoted text clipped - 5 lines]
> while (pattern = (NQ::Pattern *) [[myPatterns enumerator]
> pointerValue]) {
NSArray doesn't have an -enumerator message, so this line won't work.
Perhaps you meant to say [[enumerator nextObject] pointerValue]?
Also keep in mind that you must be very careful in this situation, because
NSArray cannot properly destroy your objects in situations where it
normally would, such as when the array itself is deallocated. Consider
writing a custom Objective-C wrapper class for it which handles proper
destruction of the inner C++ class, or use a CFMutableArray with custom
callbacks.

Signature
Michael Ash
Rogue Amoeba Software