 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
zedmartins@gmail.com Guest
|
Posted: Fri Oct 07, 2005 8:00 pm Post subject: Updating DLL using Borland Socket Server |
|
|
We have an application that uses ActiveX Libraries (COM+ DLLs) that can
be either installed on COM+ (Component Services MMC) or registered
using regsvr32 (including on Windows 95, 98, 2000, XP, etc...). We use
Borland Socket Server from Delphi 6.
When using COM+, we can shutdown one single DLL to update the file
without stopping the other DLLs. To do so we can stop the application
on Component Services MMC or stop the DLLHOST.EXE process that is
associated with the DLL we want to update.
When using the DLLs registered with regsvr32, we can't stop the whole
process since all DLLs are running under the same scktsrvr.exe process.
So, I'm thinking about changing the Socket Server to include some way
to unload just one DLL... Can someone help me with that? Any
sugestions?
I've tried to use GetModuleHandle to check if the DLL is running and if
so call FreeLibrary or CoFreeLibrary to unload it. It works, I can
unload it, but sometimes, when I try to load it again, I'm getting a
"Server threw an exception" error when the Socket Server calls
CoCreateInstance...
Please, any help will be great!!!
Z.
|
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Fri Oct 07, 2005 10:33 pm Post subject: Re: Updating DLL using Borland Socket Server |
|
|
On 7 Oct 2005 13:00:27 -0700, [email]zedmartins (AT) gmail (DOT) com[/email] wrote:
| Quote: | Please, any help will be great!!!
|
Hoi Zed
You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
BTW cross posting is a bad habit.
|
|
| Back to top |
|
 |
zedmartins@gmail.com Guest
|
Posted: Mon Oct 10, 2005 2:14 pm Post subject: Re: Updating DLL using Borland Socket Server |
|
|
I'll do that... Thanks...
Sorry about the cross posting... I am not sure about the right groups
for my question...
Z.
Riki Wiki escreveu:
| Quote: | On 7 Oct 2005 13:00:27 -0700, [email]zedmartins (AT) gmail (DOT) com[/email] wrote:
Please, any help will be great!!!
Hoi Zed
You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question.
Take a look here:
http://tinyurl.com/8m5nw
which links to
http://delphi.wikicities.com/wiki/Delphi_Newsgroups
BTW cross posting is a bad habit.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|