Article View: borland.public.cppbuilder.nativeapi
Article #4631Re: how can I share a dynamic list of objects in a dll
From: David L
Date: Wed, 04 Jan 2006 07:04
Date: Wed, 04 Jan 2006 07:04
33 lines
2444 bytes
2444 bytes
"Andrue Cope [TeamB]" <no.spam@not.a.valid.address> ๏ฟฝcrivait news:43ba763b $1@newsgroups.borland.com: > Alan Bellingham wrote: > >> I'd say that that would be when to make it a COM server. Then you can >> have arbitrarily complicated types, with multiple language support. >> > > Good point, actually. > >> COM may not be the most elegant possible solution, but at least it's >> got defined rules, and it usually works quite well. It's just a pain >> coding it up in the first place (says he who has just created a 48K >> type library with several dozen interfaces and who now needs to >> actually write some code to go behind it). > > Lol. We use COM but luckily the BCB wizards did everything for us and > they did it right. I /still/ have almost no idea how it works :) > thanx for your responses. in fact, theses datas are available on a server (workstation1), I have 3 clients (.exe built under BCB6.0 Pro) on the same workstation2 (communication protocol = Ace Tao CORBA), each one loads locally about 400/500 Mo of datas, because these are "real-time" clients, they need to access instantly to datas. it works fine actually, but the workstation2 needs at least 2Go of RAM. so I just wandered if sharing datas in memory into a common dll on workstation2 would be a solution which needs only 1Go of RAM ???
Technical Details
Message-ID:
<XnF97415CA841218davidluuexanecom@207.105.83.66>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!217.73.144.45.MISMATCH!feeder2.ecngs.de!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<XnF97407D8CF14A9davidluuexanecom@207.105.83.66> <43ba6aca$1@newsgroups.borland.com> <9gskr1hcp9nhqo7f90pk3jondu02jvss0s@4ax.com> <43ba763b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,214e5f2a6f9443ae X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: how can I share a dynamic list of objects in a dll From: David L <david.luu@exane.com> References: <XnF97407D8CF14A9davidluuexanecom@207.105.83.66> <43ba6aca$1@newsgroups.borland.com> <9gskr1hcp9nhqo7f90pk3jondu02jvss0s@4ax.com> <43ba763b$1@newsgroups.borland.com> Organization: Exane Message-ID: <XnF97415CA841218davidluuexanecom@207.105.83.66> User-Agent: Xnews/Fr.08.12 Reply-To: david.luu@exane.com NNTP-Posting-Host: 195.13.36.9 Date: 4 Jan 2006 00:04:59 -0700 X-Trace: newsgroups.borland.com 1136361899 195.13.36.9 (4 Jan 2006 00:04:59 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!217.73.144.45.MISMATCH!feeder2.ecngs.de!ecngs!feeder.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail