regsvr32.exe fails under NT4 with VB5 ocx's 
Author Message
 regsvr32.exe fails under NT4 with VB5 ocx's

I use vb5 ee/sp3 for creating ocx controls.

Under W95/osr2, I can register/unregister all of them on a command line
manually with regsvr32.exe.

Under NT4/SP3, regsvr32 fails telling me it cannot invoke the
RegisterDll interface function of the control ("DllRegisterServer in
....ocx failed"). However, I can register ocx's created with VC.

The only way I have made NT register my OCX's properly is automatically
when I compile them.

I have already tried on a brand new NT installation. I'd appreciate any
comments on this issue.

Martin Koeck



Sat, 03 Mar 2001 03:00:00 GMT  
 regsvr32.exe fails under NT4 with VB5 ocx's
Martin,

First, lets try to figure out why they wont register by getting some kind of
decent error code. Go to our web site at http://www.addisonsw.com and grab
RegDrop. Use that to register your OCXs with, it will at least give you a
decent error in text form.

Kyle


http://www.addisonsw.com

Quote:

>I use vb5 ee/sp3 for creating ocx controls.

>Under W95/osr2, I can register/unregister all of them on a command line
>manually with regsvr32.exe.

>Under NT4/SP3, regsvr32 fails telling me it cannot invoke the
>RegisterDll interface function of the control ("DllRegisterServer in
>....ocx failed"). However, I can register ocx's created with VC.

>The only way I have made NT register my OCX's properly is automatically
>when I compile them.

>I have already tried on a brand new NT installation. I'd appreciate any
>comments on this issue.

>Martin Koeck



Sat, 03 Mar 2001 03:00:00 GMT  
 regsvr32.exe fails under NT4 with VB5 ocx's
Kyle,

I'm up and running :-)  the _only_ reason was that I had not applied MSDEV SP3.
It seems MSDEV/SP3 is not only necessary to make OCXs correctly, but also to
register.

thanks anyway,
Martin

Kyle McDonald schrieb:

Quote:
> Martin,

> First, lets try to figure out why they wont register by getting some kind of
> decent error code. Go to our web site at http://www.addisonsw.com and grab
> RegDrop. Use that to register your OCXs with, it will at least give you a
> decent error in text form.

> Kyle


> http://www.addisonsw.com


> >I use vb5 ee/sp3 for creating ocx controls.

> >Under W95/osr2, I can register/unregister all of them on a command line
> >manually with regsvr32.exe.

> >Under NT4/SP3, regsvr32 fails telling me it cannot invoke the
> >RegisterDll interface function of the control ("DllRegisterServer in
> >....ocx failed"). However, I can register ocx's created with VC.

> >The only way I have made NT register my OCX's properly is automatically
> >when I compile them.

> >I have already tried on a brand new NT installation. I'd appreciate any
> >comments on this issue.

> >Martin Koeck



Sun, 04 Mar 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Regsvr32.exe fails when registering ActiveX dll

2. regsvr32.exe and ocx registrations

3. Regsvr32.exe functionality in VB5 code?

4. Regsvr32.exe vs. Regocx32.exe

5. VB 4.0 application running on NT4.0, can't delete .exe

6. Passing images to an ActiveX EXE in VB5/NT4

7. Why don't my exe's and ocx's unregister

8. NT4's Netstat.exe

9. VB5 ocx prob under NT4 W/S but not under 95

10. Ocx cannot be loaded Vb5 Nt4

11. Problem with adding OCX-Controls to VB5/6 Project (OS=NT4)

12. Problem with adding OCX-Controls to VB5/6 Project (OS=NT4)

 

 
Powered by phpBB® Forum Software