Regsvr32 and DLL registration


Go Back   Computer Help Articles > Windows XP Perform Maintain
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 06:01 AM
Camile
 
Posts: n/a
Default Regsvr32 and DLL registration

I have a Windows XP Pro PC that won't allow me to register certain DLLs used
in my Access applications. Isn't regsvr32.exe
"C:\Windows\system32\winmm.dll" the correct syntax?

The exact error returned is: C:\Windows\System32\comdlg.dll was loaded, but
the DLLRegisterServer entry point was not found. This file can not be
registered.

This problem presented itself after a Windows XP installation repair, after
that our Access applications all fail. It was then traced to a Library
issue.

Any suggesions appreciated.


Reply With Quote
  #2  
Old 01-05-2006, 06:01 AM
Wesley Vogel
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

I cannot register or unregister either comdlg.dll or winmm.dll

Using regsvr32 or RegShell.exe.

You do not need the exe extension.

If the file is in the system32 folder you do not have to include the path.

regsvr32 winmm.dll

RegSvr32 - Graphical Interface
http://www.freevbcode.com/ShowCode.Asp?ID=1422

[[This program allows to register/unregister DLLs using RegSvr32 tool which
is included with Windows. This program is very easy even for beginners.
Additionally, it shows a way to find windows\system directory location
properly. A handy utility that will help you avoid the inconvenience of
running regsvr32 from the start menu all the time. ]]

CodeRegshell.zip
http://www.freevbcode.com/code/regshell.zip

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:wNDnf.5543$Xx3.351@fe03.lga,
Camile <nomail@junk.com> hunted and pecked:
> I have a Windows XP Pro PC that won't allow me to register certain DLLs
> used in my Access applications. Isn't regsvr32.exe
> "C:\Windows\system32\winmm.dll" the correct syntax?
>
> The exact error returned is: C:\Windows\System32\comdlg.dll was loaded,
> but the DLLRegisterServer entry point was not found. This file can not be
> registered.
>
> This problem presented itself after a Windows XP installation repair,
> after that our Access applications all fail. It was then traced to a
> Library issue.
>
> Any suggesions appreciated.


Reply With Quote
  #3  
Old 01-05-2006, 06:01 AM
GTS
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

Your syntax is fine, but only COM DLLs are registered in this manner. Non
COM DLLS do not contain a "DLLRegisterServer entry point" and attempting to
register them will generate the error message you saw. There are other
library and dll failure possibilities, but you didn't give enough
information about the failures to address them.
--

"Camile" <nomail@junk.com> wrote in message
news:wNDnf.5543$Xx3.351@fe03.lga...
>I have a Windows XP Pro PC that won't allow me to register certain DLLs
>used
> in my Access applications. Isn't regsvr32.exe
> "C:\Windows\system32\winmm.dll" the correct syntax?
>
> The exact error returned is: C:\Windows\System32\comdlg.dll was loaded,
> but
> the DLLRegisterServer entry point was not found. This file can not be
> registered.
>
> This problem presented itself after a Windows XP installation repair,
> after
> that our Access applications all fail. It was then traced to a Library
> issue.
>
> Any suggesions appreciated.
>
>



Reply With Quote
  #4  
Old 01-05-2006, 06:01 AM
Camile
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

So is the Windows' regsvr32 I have used a thousand times in my life not
adequate?
Will the VBA project you suggested not throw errors? Even thought it uses
regsvr32?
I have never received this error before, only the success message.

Is there a tool you can suggest to analyze & test DLLs? Or what process
could I use to refresh all ?

I can't run VB or VBA forms with code on this PC because of the library
problem I'm chasing.

"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
news:#Vf8CyBAGHA.2156@TK2MSFTNGP11.phx.gbl...
> I cannot register or unregister either comdlg.dll or winmm.dll
>
> Using regsvr32 or RegShell.exe.
>
> You do not need the exe extension.
>
> If the file is in the system32 folder you do not have to include the path.
>
> regsvr32 winmm.dll
>
> RegSvr32 - Graphical Interface
> http://www.freevbcode.com/ShowCode.Asp?ID=1422
>
> [[This program allows to register/unregister DLLs using RegSvr32 tool

which
> is included with Windows. This program is very easy even for beginners.
> Additionally, it shows a way to find windows\system directory location
> properly. A handy utility that will help you avoid the inconvenience of
> running regsvr32 from the start menu all the time. ]]
>
> CodeRegshell.zip
> http://www.freevbcode.com/code/regshell.zip
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:wNDnf.5543$Xx3.351@fe03.lga,
> Camile <nomail@junk.com> hunted and pecked:
> > I have a Windows XP Pro PC that won't allow me to register certain DLLs
> > used in my Access applications. Isn't regsvr32.exe
> > "C:\Windows\system32\winmm.dll" the correct syntax?
> >
> > The exact error returned is: C:\Windows\System32\comdlg.dll was loaded,
> > but the DLLRegisterServer entry point was not found. This file can not

be
> > registered.
> >
> > This problem presented itself after a Windows XP installation repair,
> > after that our Access applications all fail. It was then traced to a
> > Library issue.
> >
> > Any suggesions appreciated.

>



Reply With Quote
  #5  
Old 01-05-2006, 06:01 AM
Wesley Vogel
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

Explanation of Regsvr32 Usage and Error Messages
http://support.microsoft.com/default...b;en-us;249873

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:aYGnf.1$Vr.0@fe06.lga,
Camile <nomail@junk.com> hunted and pecked:
> So is the Windows' regsvr32 I have used a thousand times in my life not
> adequate?
> Will the VBA project you suggested not throw errors? Even thought it uses
> regsvr32?
> I have never received this error before, only the success message.
>
> Is there a tool you can suggest to analyze & test DLLs? Or what process
> could I use to refresh all ?
>
> I can't run VB or VBA forms with code on this PC because of the library
> problem I'm chasing.
>
> "Wesley Vogel" <123WVogel955@comcast.net> wrote in message
> news:#Vf8CyBAGHA.2156@TK2MSFTNGP11.phx.gbl...
>> I cannot register or unregister either comdlg.dll or winmm.dll
>>
>> Using regsvr32 or RegShell.exe.
>>
>> You do not need the exe extension.
>>
>> If the file is in the system32 folder you do not have to include the
>> path.
>>
>> regsvr32 winmm.dll
>>
>> RegSvr32 - Graphical Interface
>> http://www.freevbcode.com/ShowCode.Asp?ID=1422
>>
>> [[This program allows to register/unregister DLLs using RegSvr32 tool
>> which is included with Windows. This program is very easy even for
>> beginners. Additionally, it shows a way to find windows\system directory
>> location properly. A handy utility that will help you avoid the
>> inconvenience of running regsvr32 from the start menu all the time. ]]
>>
>> CodeRegshell.zip
>> http://www.freevbcode.com/code/regshell.zip
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:wNDnf.5543$Xx3.351@fe03.lga,
>> Camile <nomail@junk.com> hunted and pecked:
>>> I have a Windows XP Pro PC that won't allow me to register certain DLLs
>>> used in my Access applications. Isn't regsvr32.exe
>>> "C:\Windows\system32\winmm.dll" the correct syntax?
>>>
>>> The exact error returned is: C:\Windows\System32\comdlg.dll was loaded,
>>> but the DLLRegisterServer entry point was not found. This file can not
>>> be registered.
>>>
>>> This problem presented itself after a Windows XP installation repair,
>>> after that our Access applications all fail. It was then traced to a
>>> Library issue.
>>>
>>> Any suggesions appreciated.


Reply With Quote
  #6  
Old 01-05-2006, 06:01 AM
Camile
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

Ohhhhhhhhhhhhhhhhhh...
That's what I needed to hear.

My other information starts getting into Access 2000 & 2003.
Both have the same problems in code like Using DoCmd.Requery "TSubtotal",
or DoCmd.Close acForm, "Orders", acSaveYes as an Event Procedure behind a
button, etc. Every move I make involving code seems to produce the error:
<The expression On Open you entered as the Event property setting produced
the following error: Error Loading DLL.> Apparently forms without code work
without errors. Anything referring to code gives the error.

So I made a fresh conversion of one access03 app to access2K, then tried to
compile it. Again "Error in loading DLL".

What other information could help? I don't have much more. All References
in Access are normal without Missing File warning. I have 5 other PCs in
the office that run these apps easily with only the addition of
MSCOMCT2.OCX.


"GTS" <x> wrote in message news:#lLNqlCAGHA.3372@TK2MSFTNGP12.phx.gbl...
> Your syntax is fine, but only COM DLLs are registered in this manner. Non
> COM DLLS do not contain a "DLLRegisterServer entry point" and attempting

to
> register them will generate the error message you saw. There are other
> library and dll failure possibilities, but you didn't give enough
> information about the failures to address them.
> --
>
> "Camile" <nomail@junk.com> wrote in message
> news:wNDnf.5543$Xx3.351@fe03.lga...
> >I have a Windows XP Pro PC that won't allow me to register certain DLLs
> >used
> > in my Access applications. Isn't regsvr32.exe
> > "C:\Windows\system32\winmm.dll" the correct syntax?
> >
> > The exact error returned is: C:\Windows\System32\comdlg.dll was loaded,
> > but
> > the DLLRegisterServer entry point was not found. This file can not be
> > registered.
> >
> > This problem presented itself after a Windows XP installation repair,
> > after
> > that our Access applications all fail. It was then traced to a Library
> > issue.
> >
> > Any suggesions appreciated.
> >
> >

>
>



Reply With Quote
  #7  
Old 01-05-2006, 06:01 AM
GTS
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

It sounds like some library dependency for Access or related components like
MDAC is damaged, or had bad registry data. I would try reinstalling Access
on the problem machine.
--

"Camile" <nomail@junk.com> wrote in message
news:xmInf.7888$ES.7395@fe05.lga...
> Ohhhhhhhhhhhhhhhhhh...
> That's what I needed to hear.
>
> My other information starts getting into Access 2000 & 2003.
> Both have the same problems in code like Using DoCmd.Requery "TSubtotal",
> or DoCmd.Close acForm, "Orders", acSaveYes as an Event Procedure behind a
> button, etc. Every move I make involving code seems to produce the error:
> <The expression On Open you entered as the Event property setting produced
> the following error: Error Loading DLL.> Apparently forms without code
> work
> without errors. Anything referring to code gives the error.
>
> So I made a fresh conversion of one access03 app to access2K, then tried
> to
> compile it. Again "Error in loading DLL".
>
> What other information could help? I don't have much more. All
> References
> in Access are normal without Missing File warning. I have 5 other PCs in
> the office that run these apps easily with only the addition of
> MSCOMCT2.OCX.
>
>
> "GTS" <x> wrote in message news:#lLNqlCAGHA.3372@TK2MSFTNGP12.phx.gbl...
>> Your syntax is fine, but only COM DLLs are registered in this manner.
>> Non
>> COM DLLS do not contain a "DLLRegisterServer entry point" and attempting

> to
>> register them will generate the error message you saw. There are other
>> library and dll failure possibilities, but you didn't give enough
>> information about the failures to address them.
>> --
>>
>> "Camile" <nomail@junk.com> wrote in message
>> news:wNDnf.5543$Xx3.351@fe03.lga...
>> >I have a Windows XP Pro PC that won't allow me to register certain DLLs
>> >used
>> > in my Access applications. Isn't regsvr32.exe
>> > "C:\Windows\system32\winmm.dll" the correct syntax?
>> >
>> > The exact error returned is: C:\Windows\System32\comdlg.dll was
>> > loaded,
>> > but
>> > the DLLRegisterServer entry point was not found. This file can not be
>> > registered.
>> >
>> > This problem presented itself after a Windows XP installation repair,
>> > after
>> > that our Access applications all fail. It was then traced to a Library
>> > issue.
>> >
>> > Any suggesions appreciated.
>> >
>> >

>>
>>

>
>



Reply With Quote
  #8  
Old 01-05-2006, 06:01 AM
Camile
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

If it helps,
My DLLs are not working on certain web pages either. Like Ebay, the URL
shifts to
http://my.ebay.com/ws/eBayISAPI.dll?MyeBay
and its really slow.

"Camile" <nomail@junk.com> wrote in message
news:xmInf.7888$ES.7395@fe05.lga...
> Ohhhhhhhhhhhhhhhhhh...
> That's what I needed to hear.
>
> My other information starts getting into Access 2000 & 2003.
> Both have the same problems in code like Using DoCmd.Requery "TSubtotal",
> or DoCmd.Close acForm, "Orders", acSaveYes as an Event Procedure behind a
> button, etc. Every move I make involving code seems to produce the error:
> <The expression On Open you entered as the Event property setting produced
> the following error: Error Loading DLL.> Apparently forms without code

work
> without errors. Anything referring to code gives the error.
>
> So I made a fresh conversion of one access03 app to access2K, then tried

to
> compile it. Again "Error in loading DLL".
>
> What other information could help? I don't have much more. All

References
> in Access are normal without Missing File warning. I have 5 other PCs in
> the office that run these apps easily with only the addition of
> MSCOMCT2.OCX.
>
>
> "GTS" <x> wrote in message news:#lLNqlCAGHA.3372@TK2MSFTNGP12.phx.gbl...
> > Your syntax is fine, but only COM DLLs are registered in this manner.

Non
> > COM DLLS do not contain a "DLLRegisterServer entry point" and attempting

> to
> > register them will generate the error message you saw. There are other
> > library and dll failure possibilities, but you didn't give enough
> > information about the failures to address them.
> > --
> >
> > "Camile" <nomail@junk.com> wrote in message
> > news:wNDnf.5543$Xx3.351@fe03.lga...
> > >I have a Windows XP Pro PC that won't allow me to register certain DLLs
> > >used
> > > in my Access applications. Isn't regsvr32.exe
> > > "C:\Windows\system32\winmm.dll" the correct syntax?
> > >
> > > The exact error returned is: C:\Windows\System32\comdlg.dll was

loaded,
> > > but
> > > the DLLRegisterServer entry point was not found. This file can not be
> > > registered.
> > >
> > > This problem presented itself after a Windows XP installation repair,
> > > after
> > > that our Access applications all fail. It was then traced to a

Library
> > > issue.
> > >
> > > Any suggesions appreciated.
> > >
> > >

> >
> >

>
>



Reply With Quote
  #9  
Old 01-05-2006, 06:01 AM
Camile
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

I have removed & reinstalled access 2k & 03 at least three times thinking
the two were competing or etc.
Thanks
"GTS" <x> wrote in message news:#NPVM2EAGHA.3296@TK2MSFTNGP12.phx.gbl...
> It sounds like some library dependency for Access or related components

like
> MDAC is damaged, or had bad registry data. I would try reinstalling

Access
> on the problem machine.
> --
>
> "Camile" <nomail@junk.com> wrote in message
> news:xmInf.7888$ES.7395@fe05.lga...
> > Ohhhhhhhhhhhhhhhhhh...
> > That's what I needed to hear.
> >
> > My other information starts getting into Access 2000 & 2003.
> > Both have the same problems in code like Using DoCmd.Requery

"TSubtotal",
> > or DoCmd.Close acForm, "Orders", acSaveYes as an Event Procedure behind

a
> > button, etc. Every move I make involving code seems to produce the

error:
> > <The expression On Open you entered as the Event property setting

produced
> > the following error: Error Loading DLL.> Apparently forms without code
> > work
> > without errors. Anything referring to code gives the error.
> >
> > So I made a fresh conversion of one access03 app to access2K, then tried
> > to
> > compile it. Again "Error in loading DLL".
> >
> > What other information could help? I don't have much more. All
> > References
> > in Access are normal without Missing File warning. I have 5 other PCs

in
> > the office that run these apps easily with only the addition of
> > MSCOMCT2.OCX.
> >
> >
> > "GTS" <x> wrote in message news:#lLNqlCAGHA.3372@TK2MSFTNGP12.phx.gbl...
> >> Your syntax is fine, but only COM DLLs are registered in this manner.
> >> Non
> >> COM DLLS do not contain a "DLLRegisterServer entry point" and

attempting
> > to
> >> register them will generate the error message you saw. There are

other
> >> library and dll failure possibilities, but you didn't give enough
> >> information about the failures to address them.
> >> --
> >>
> >> "Camile" <nomail@junk.com> wrote in message
> >> news:wNDnf.5543$Xx3.351@fe03.lga...
> >> >I have a Windows XP Pro PC that won't allow me to register certain

DLLs
> >> >used
> >> > in my Access applications. Isn't regsvr32.exe
> >> > "C:\Windows\system32\winmm.dll" the correct syntax?
> >> >
> >> > The exact error returned is: C:\Windows\System32\comdlg.dll was
> >> > loaded,
> >> > but
> >> > the DLLRegisterServer entry point was not found. This file can not

be
> >> > registered.
> >> >
> >> > This problem presented itself after a Windows XP installation repair,
> >> > after
> >> > that our Access applications all fail. It was then traced to a

Library
> >> > issue.
> >> >
> >> > Any suggesions appreciated.
> >> >
> >> >
> >>
> >>

> >
> >

>
>



Reply With Quote
  #10  
Old 01-05-2006, 06:02 AM
GTS
 
Posts: n/a
Default Re: Regsvr32 and DLL registration

Have you thoroughly checked for malware? You said earlier that the access
problem started after a Windows reinstall. What problems caused you to do
the reinstallation?
--

"Camile" <nomail@junk.com> wrote in message
news:rDKnf.15415$tQ7.10608@fe04.lga...
> If it helps,
> My DLLs are not working on certain web pages either. Like Ebay, the URL
> shifts to
> http://my.ebay.com/ws/eBayISAPI.dll?MyeBay
> and its really slow.
>
> "Camile" <nomail@junk.com> wrote in message
> news:xmInf.7888$ES.7395@fe05.lga...
>> Ohhhhhhhhhhhhhhhhhh...
>> That's what I needed to hear.
>>
>> My other information starts getting into Access 2000 & 2003.
>> Both have the same problems in code like Using DoCmd.Requery
>> "TSubtotal",
>> or DoCmd.Close acForm, "Orders", acSaveYes as an Event Procedure behind a
>> button, etc. Every move I make involving code seems to produce the
>> error:
>> <The expression On Open you entered as the Event property setting
>> produced
>> the following error: Error Loading DLL.> Apparently forms without code

> work
>> without errors. Anything referring to code gives the error.
>>
>> So I made a fresh conversion of one access03 app to access2K, then tried

> to
>> compile it. Again "Error in loading DLL".
>>
>> What other information could help? I don't have much more. All

> References
>> in Access are normal without Missing File warning. I have 5 other PCs in
>> the office that run these apps easily with only the addition of
>> MSCOMCT2.OCX.
>>
>>
>> "GTS" <x> wrote in message news:#lLNqlCAGHA.3372@TK2MSFTNGP12.phx.gbl...
>> > Your syntax is fine, but only COM DLLs are registered in this manner.

> Non
>> > COM DLLS do not contain a "DLLRegisterServer entry point" and
>> > attempting

>> to
>> > register them will generate the error message you saw. There are
>> > other
>> > library and dll failure possibilities, but you didn't give enough
>> > information about the failures to address them.
>> > --
>> >
>> > "Camile" <nomail@junk.com> wrote in message
>> > news:wNDnf.5543$Xx3.351@fe03.lga...
>> > >I have a Windows XP Pro PC that won't allow me to register certain
>> > >DLLs
>> > >used
>> > > in my Access applications. Isn't regsvr32.exe
>> > > "C:\Windows\system32\winmm.dll" the correct syntax?
>> > >
>> > > The exact error returned is: C:\Windows\System32\comdlg.dll was

> loaded,
>> > > but
>> > > the DLLRegisterServer entry point was not found. This file can not
>> > > be
>> > > registered.
>> > >
>> > > This problem presented itself after a Windows XP installation repair,
>> > > after
>> > > that our Access applications all fail. It was then traced to a

> Library
>> > > issue.
>> > >
>> > > Any suggesions appreciated.
>> > >
>> > >
>> >
>> >

>>
>>

>
>



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT. The time now is 05:22 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Regsvr32 and DLL registration