Board index » delphi » DCOM and COM Servers, I think
Mark Bracey
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
|
Mark Bracey
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
DCOM and COM Servers, I think
I need to start and application (like the Interbase Server) on one
machine, and then, be able to locate it and connect to it using DCOM/COM. Any head start on how I can do this? |
Fernand Raynau
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkThe example you use is strange, because Interbase Server is set up to accept connections over the net, that's what it does out of the box. If you are talking about other apps, ones you write yourself, you have many options, DCOM is just one of them. Sockets, MAPI, Named Pipes and NetDDE for instance. DCOM is very handy on NT, it scales from local to remote very well, but it's very hard to set up initially. Sockets are one of the best ways. You need to be clearer on what you are trying to accomplish. Fernand Mark Bracey <red...@interaccess.com> wrote in article Quote> I need to start and application (like the Interbase Server) on one |
Mark Brace
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkI have a piece of hardware that is installed on a machine. It has a set of NT drivers and a rudimentary API to access this hardware. I am currently accessing it on my local machine, but it would be advantageous for me to access it anywhere on the network. COM/DCOM seems to be the logical choice as I am in the process of defining an interface on top of the simple API. I am assuming I need some kind of server on the remote machine that I can access the interface through. But I could be wrong. Any advice assuming DCOM as my method of choice? QuoteFernand Raynaud wrote: |
dg..
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkIn article <35AEE3A2.B1DA0...@interaccess.com>, Mark Bracey <red...@interaccess.com> wrote: Quote> I need to start and application (like the Interbase Server) on one If you are looking for a way to locate the server (machine), I doubt whether a If any one thinks otherwise, please enlighten us. (I don't know how Interbase works :-)) Regards, -----== Posted via Deja News, The Leader in Internet Discussion ==----- |
Fernand Raynau
![]() Delphi Developer |
Sat, 06 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkMark Bracey <red...@interaccess.com> wrote in article <35AF5226.A22BC...@interaccess.com>... Quote> I have a piece of hardware that is installed on a machine. It has a set transport. You could also do it with just about any other IPC technique if you know the name/address of the machine. It's tempting to go with COM, but there are two difficulties that you would not have with sockets: the initial headaches of getting DCOM working past security and other config issues, and the problem with Events. The security thing is just that every time you try to get a DCOM link The Events problem goes like this: D4 implements COM better than D3, and One last problem. The nature of COM is that until the next generation Fernand |
Mark Brace
![]() Delphi Developer |
Sat, 06 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkFernand, Thanks for the advice. Quote>but apparently nobody has any idea how to get the client side done without for COM, but I have yet to try it. I've been working on getting TypeInfo at runtime for Events, but now Mark QuoteFernand Raynaud wrote: |
Fernand Raynau
![]() Delphi Developer |
Sun, 07 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkHi, Mark, I think that Binh Ly's component creator is the simplest way, because Fernand Mark Bracey <red...@interaccess.com> wrote in article Quote
|
Mark
![]() Delphi Developer |
Mon, 08 Jan 2001 03:00:00 GMT
Re:DCOM and COM Servers, I thinkFernand, As I said, I think I have a solution but I want to make sure I really I did download Binh Ly's stuff and it is excellent. Mark QuoteFernand Raynaud wrote: |
1. !!! COM -> DCOM !!! - Implementing a COM Server as a DCOM Server
2. Failed to connect to COM/DCOM Server.
3. COM Properties via DCOM to remote server
4. COM Server as Service / DCOM Config
5. Multi-threaded, mission-critical DCOM servers, errors in Delphi COM implementation
6. DCOM: Can I create all COM objects as DCOM object
7. activex com com+ dcom tools and utils
8. Making a DCOM server a DCOM NT *service*
9. Registering DCOM Server on Client (from 3 DCOM Questions)