|
-
Nov 7th, 2001, 10:30 AM
#1
Thread Starter
Addicted Member
Moving from COM to DCOM
I am quite pleased with myself. I have an ActiveX EXE which runs SQL queries asynchronously and notifies my clients when the query has finished. Not bad eh ?..well for me anyway
I am now thinking about moving this EXE to a dedicated high powered Server.
How do I configure the clients to reference the EXE on another machine.
Is there coding required in the EXE or is it all done for me my DCOM config. program within Windows
-
Nov 8th, 2001, 04:09 AM
#2
Hyperactive Member
If the High-Power Server capable of supporting VB DLL's ? I.e it's not a Linux/Unix/somsuch machine then to move to DCOM is simple.
All you need to do in install/deploy your DLL to the new server (not forgetting to configure your database connection of your server etc !!). Open the Client VBP and make a Networked Path reference to the DLL on the new server & re-deploy the client.
Of course, things to consider when deploying the DLL are any dependencies the DLL may require, connections to Databases etc etc, the load the DLL will have to take... It really depends upon how tight you coded your DLL and what it's for. But assuming your Error Handling etc follows COM rules etc then there should in theory be No problem.
FATBOYPEE
Last edited by FATBOYPEE; Nov 8th, 2001 at 04:53 AM.

Best Bar.....
-
Nov 9th, 2001, 03:50 AM
#3
Thread Starter
Addicted Member
Thanks for the reply. It had been v. quiet up until then,,I thought I had asked a question dealing with Black Magic.
I will give this a try. This really sounds too simple. I hope it works.
Thanks, I will let you know.
-
Nov 13th, 2001, 05:26 AM
#4
New Member
dcom
Dear
if u want to go on the dcom then this is very simple
u hv to register ur exe on the server with dcomcnfg
utility
ur client hv install the dcom support and then through
the clicnfg register the .vbr and .tlb file on client
now if u make changes in the exe then client will find that reflect
without any changes
i think that u ust wanna this
bye
sachin
-
Nov 19th, 2001, 02:53 AM
#5
hi
i wonder if a Networked Path reference to the DLL on the new server is made , on which memory space does the DLL open ? If it opens up in the client space , can we tell it's a server dll ??
Can u please clarify ?
Thanks
bips
-
Nov 19th, 2001, 05:28 AM
#6
New Member
Dll will support on MTS
Dear
if u want to deploy the DLL then u can od this with the MTS
and if u hv use EXE then u can do this by DCOM support
obviosly for dll also and the instance will depend on the instancing property of the class what u hv set
multiuse,singleuse etc
Sachin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|