|
-
Jun 2nd, 2003, 09:35 AM
#1
Collection in dll be accessable from other dll.
Ok, here is what I need. I need to have a dll that will hold a collection of connected sockets. A third party dll needs access to this collection. I have tried this many times before, but whenever I try to access the collection which I tried making static, the thrid party dll just gets a blank collection?
Any one got any ideas? Basically I need plugins to access my socket collection so that they can handle sending their data themselves to clients.
-
Jun 2nd, 2003, 11:06 AM
#2
Frenzied Member
How are the accessing the collection? Are you trying to access them like this
thirdPartyColl = MyDll.MyCollection
Maybe you can call the clone method on your object to return a copy, or you might want to try and implement IClonable and provide your own clone method.
-
Jun 2nd, 2003, 11:14 AM
#3
Clone just might do that! Thanks. I havent gotten to the actual wwriting this yet. I am going on something I tried a long time ago. But that just might work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|