PC Review


Reply
Thread Tools Rate Thread

Delegate Array or similar

 
 
Magne Ryholt
Guest
Posts: n/a
 
      3rd Feb 2004
A little difficult to describe, but I try:
Assume my app creates an array of 1000 strings and call a method on a 3'rd
party assembly with this array as argument (this sets up a subscription of
data from another system).
This method results in callbacks later which my app handles.
In the callback, one argument is an array of subscribed data, but only the
data which are changed since previous callback.
When the "subscription" was set up, a unique index was associated with each
item, the data in the callback contains this associated index (a kind of
handle) for each item in the array of data.
When the "subscription" was setup, I also create an object associated with
each subscribed item (via the "handle")

How to best setup the event/delegates to inform the associated objects when
changed data is received via the callback from 3'rd party assembly ?
(the size of the data array from 3'rd party assembly will, in general,
change each time)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array Formula for numbering similar nos (counting) noname Microsoft Excel Worksheet Functions 1 10th Jan 2011 09:51 AM
flexible array in a struct, or something similar =?Utf-8?B?Y2hyaXNtY2I=?= Microsoft VC .NET 3 21st Sep 2006 10:02 PM
How can you use count with an array formula similar to using sum =?Utf-8?B?UGhpbEg=?= Microsoft Excel Worksheet Functions 3 27th Jun 2005 09:00 AM
How can I asign something similar to a TableStyle to a DataGrid that is using an array of DataRow as source? Juan Microsoft C# .NET 1 7th Mar 2005 10:00 PM
Passing C# delegate to C++ with byte array parameter Josh Microsoft C# .NET 2 16th Nov 2004 02:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:33 AM.