🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #815

Re: Survey of using MIDAS with anything other than single-threading

#815
From: Klaas Wolters
Date: Tue, 24 Oct 2000 00:00
36 lines
1788 bytes
Hi Steve

basic procedure
Create a ActiveX library
Add a Remote data module.

You can register de ActiveX dll with regsvr32 or just with Install shield
Then it gets loaded by the COM system or by the socket server execute.
I have tried to use a debug form in the main library file and discovered
that when al RDM instances make use of that
debug form the second and rest of the instances are very slow.

>Do you still have a server executable?  If not, how is your COM object
>registered?

Another alternative is to load the dll yourself in a main server program and
call the
_Module.RegisterServer(TRUE); function for registering the RDM and on unload
unregister it.

>
>Is one instance of your DLL created for each connection?
>

The DLL gets loaded the first time you make a call to the RDM object.
and from my experience is yust loaded one time.


>Do you (or could you) have any data that remains in the server even
>without any connections?  (For example, some large array of data shared
>by all users).

So any data you create in startup code (#pragma startup) should be global to
any instance of the RDM object.

Klaas
Technical Details
Message-ID: <8t3ngs$edj19@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39EB8577.8240549@SpamIsLame.com> <8smhh4$7lc16@bornews.borland.com> <39EF24B5.1F8BEF71@SpamIsLame.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,14e5d8ca0ed5adb6
X-Google-Attributes: gidfcd2b,public
From: "Klaas Wolters" <triple.eye.removethis@tip.nl>
Subject: Re: Survey of using MIDAS with anything other than single-threading
Date: 2000/10/24
Message-ID: <8t3ngs$edj19@bornews.borland.com>
X-Deja-AN: 685180658
References: <39EB8577.8240549@SpamIsLame.com> <8smhh4$7lc16@bornews.borland.com> <39EF24B5.1F8BEF71@SpamIsLame.com>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.cppbuilder.database.multi-tier