 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David L Guest
|
Posted: Tue Dec 20, 2005 7:55 am Post subject: how can I share a list of objects in a dll ? |
|
|
Hi,
this example works fine :
http://bdn.borland.com/article/0,1410,20008,00.html
I've tested successfully the way I share a simple data (=an integer) in a
dll for several applications that use the same dll.
I'd like to know how can I share a dynamic list of objects in a dll ?
thanx a lot.
|
|
| Back to top |
|
 |
David L Guest
|
Posted: Wed Dec 28, 2005 7:46 am Post subject: Re: how can I share a list of objects in a dll ? |
|
|
Hi again,
(I'm using BCB 6.0 Pro)
class TMyObject
{
protected:
long fCodeId;
double fData1;
char fData2;
long fData3;
double fData4;
double fData5;
public:
TMyObject ( long, double, char, long, double, double);
long GetCodeId () const { return fCodeId;}
double GetData1 () const { return fData1;}
char GetData2 () const { return fData2;}
long GetData3 () const { return fData3;}
double GetData4 () const { return fData4;}
double GetData5 () const { return fData5;}
};
typedef std::vector <TMyObject*> V_MyObject_LST;
typedef std::vector <TMyObject*>::iterator V_MyObject_Iterator;
is it possible to share a dynamic list (size between 5000000 and 8000000)
of these objects in a dll for 3 .exe that need same datas ?
thanx a million for any response.
David L <david.luu (AT) exane (DOT) com> écrivait
news:XnF973265CB4B6A3davidluuexanecom (AT) 207 (DOT) 105.83.66:
| Quote: | Hi,
this example works fine :
http://bdn.borland.com/article/0,1410,20008,00.html
I've tested successfully the way I share a simple data (=an integer)
in a dll for several applications that use the same dll.
I'd like to know how can I share a dynamic list of objects in a dll ?
thanx a lot.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|