 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jeff Kish Guest
|
Posted: Thu Jul 27, 2006 2:21 am Post subject: deployment and registry of ocx controls |
|
|
Hi.
I'm wondering if anyone has any hands on in this?
I have a borland app developed with 3rd party ocx.
when I drop the exe on a windows server 2003 machine and run it says
the class is not registered. I assume this meant ocx.
When I tried to register the ocx using this:
regsvr32 vuew,icx
I get a messagebox:
caption: Regsvr32
body: LoadLibrary("view.ocx") failed - The specified module could not
be found.
Is there something special on windows 2003 server? I can't see
anything online regarding this...
Thanks
Jeff Kish |
|
| Back to top |
|
 |
Mark Guerrieri Guest
|
Posted: Thu Jul 27, 2006 8:10 am Post subject: Re: deployment and registry of ocx controls |
|
|
| Quote: | I get a messagebox:
caption: Regsvr32
body: LoadLibrary("view.ocx") failed - The specified module could not
be found.
|
More than likely view.ocx relies on other files (dll's, etc.) thant are not
present on the machine.
Mark |
|
| Back to top |
|
 |
Jeff Kish Guest
|
Posted: Thu Jul 27, 2006 5:31 pm Post subject: Re: deployment and registry of ocx controls |
|
|
On Wed, 26 Jul 2006 23:58:53 -0400, "Mark Guerrieri"
<mguerrieri (AT) no_spam_verizon (DOT) net> wrote:
| Quote: | I get a messagebox:
caption: Regsvr32
body: LoadLibrary("view.ocx") failed - The specified module could not
be found.
More than likely view.ocx relies on other files (dll's, etc.) thant are not
present on the machine.
Mark
interesting. I'll check. |
Regards
Jeff Kish |
|
| Back to top |
|
 |
Jeff Kish Guest
|
Posted: Fri Jul 28, 2006 5:41 pm Post subject: Re: deployment and registry of ocx controls |
|
|
On Wed, 26 Jul 2006 23:58:53 -0400, "Mark Guerrieri"
<mguerrieri (AT) no_spam_verizon (DOT) net> wrote:
| Quote: | I get a messagebox:
caption: Regsvr32
body: LoadLibrary("view.ocx") failed - The specified module could not
be found.
More than likely view.ocx relies on other files (dll's, etc.) thant are not
present on the machine.
Mark
ah yes, good observation. err. one or two (hundred) files were |
missing. It was not obvious to me that they were required for
registering.
Regards
Jeff Kish |
|
| Back to top |
|
 |
Alan Bellingham Guest
|
Posted: Fri Jul 28, 2006 6:25 pm Post subject: Re: deployment and registry of ocx controls |
|
|
Jeff Kish <jeff.kish (AT) mro (DOT) com> wrote:
| Quote: | ah yes, good observation. err. one or two (hundred) files were
missing. It was not obvious to me that they were required for
registering.
|
Registration (at least by RegSvr32.exe) requires LoadLibrary followed by
a call into the DLL. For LoadLIbrary to succeed, the OS must
successfully load not only the DLL in question, but any others to which
it is linked.
There are other ways that registration could have been implemented, ones
that (for example) just relied on an embedded resource, but that would
have deferred the link problem being discovered. On balance, I think the
decision made was correct.
Alan Bellingham
--
ACCU Conference: 11-14 April 2007 - Paramount Oxford Hotel |
|
| 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
|
|