Advice for anyone considering MIDAS

Advice for anyone considering MIDAS

Post by Hamilto » Mon, 09 Aug 2004 23:46:59


I've been working on MIDAS apps for a couple of years now and have some
advice for young players. I hope some other people respond to my 2-cents
worth, because there is a lot I don't know - but I wish someone could have
given me the heads-up at the beginning.

1. If you want to have more than 5 connections to your server then you need
a pooled data module in your server.
* Look at the Pooler demo that comes with Delphi.

2. Use DCOM rather than sockets.
* Socket Server has well documented bugs that Borland does not fix.
* There is code by Manuel Palma available from Code Central that fixes
particular problems with multi-processor PCs, but there seem to be other
bugs that have not been fixed.
* If you must use sockets, and want a pooled server then you will have to
disable the 'registered objects only' option in socket server because the
pooler server does not register itself properly, and no one seems to know
how to make it work.

3. Installation will be a nuisance.
* You must run DCOMCNFG and set the identity and security settings for your
server. The default settings cause your server to run under the account of
the launching user, and you will probably end up with multiple copies of
your server. Setting up a new account just to run your app is the best
option, particularly if you need your server to run without having someone
logged in.
* If you want sockets then you will need to explain to your users how to
turn off 'registered objects only'. If you include registering and running
socket server as part of your installation then you may discover that the
socket server icon does not always appear in the system tray - so now you
will have to explain to your users how to stop and restart services.
* How many of your users do you think will manage to do this without a
support call?

4. Use InnoSetup.
* InnoSetup is fantastic, free and easy to user.
* InstallShield is big and cumbersome. The express version that comes with
Delphi will not let you do everything you need to install a 3-tier app.
* I finally ditched installshield when I had clients uninstall my old
software, install a new version, register the server and then discover that
when they ran the client the old version of the server was swapped back over
the new version, and now the client cannot connect.

5. You cannot share connections between pooled remote data modules
* You may read about components to share connections between pooled remote
data modules, but none of them actually work (no names).

How is that for a place to start?



1. Considering external HD, need advice.

2. I am considering installing SP2; need advice

I am considering installing SP2 on my Windows XP Home computer. I have a
home network in which we use ICS. My husbands Windows 98SE computer connects
to the internet via my computer. We do not share files. I had at one time
installed a software firewall and evidently did not have the settings right,
which drove me crazy and I unistalled it because hubby could not access the
internet. I am reluctant to install SP2 because of the firewall.

Any suggestions as to how to enable the XP SP2 firewall so that he can also
access the internet or will it be allowed by default since the ICS is already
on the connection? Should his computer be on when I do this because of the

Will I be asked to allow/deny ingoing and outgoing transmissions? (this
makes me nervous if it does, since I have no clue about any of that type of
thing! I have several programs, antivirus and such that need regular
updating. How will I know if those are what are asking for outgoing
permission?) I have scanned the computer for viruses and ad/malware and it
comes up clean. I do not download music or other programs (except from cd's)
but do use instant messengers occasionally. All drivers that I think need
updating have been updated.

I know this is a loaded question, but reading articles do not give me a clue
as it is all in "computer speak." I really need some help.....I've gotten
paranoid since this is my only form of communication with my family back
east. I don't need to mess this up! Thanks in advance to anyone willing to

3. considering a carrer in CG ...need advice!

4. Advice to those considering changing from XP to Vista

5. Considering switching from Smarteam to Adept or Activault, advice or comments?

6. [News] Advice for New PC This Thanksgiving: Also Consider GNU/Linux

7. Advice for those considering CRM

8. Native GTK port (was Anyone considered porting Open Office?)

9. Anyone considered porting Open Office?

10. inkjet HP suggestions anyone? Considering HP 6540

11. Anyone Considering Hiring Roy Schestowitz. Check USENET First!

12. Considering CRM but don't know anyone who uses it.

13. Is anyone considering Visual Web Developer?

14. Anyone Considering Hiring Roy Schestowitz. Check USENET First!

15. Anyone Considering Hiring micoshaft windope asstroturfers Check USENET First!