Solved

Tell me little,earn more(about ocx)

Posted on 2000-03-22
7
201 Views
Last Modified: 2013-11-20
Why my VC++6.0 built ocx can't be registered by regsvr32.exe on win98?
0
Comment
Question by:ycl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Author Comment

by:ycl
ID: 2643803
My platform is win95
0
 

Expert Comment

by:Blaze22
ID: 2644256
What's the message?
0
 
LVL 3

Accepted Solution

by:
mnewton022700 earned 50 total points
ID: 2644305
You are probably missing a required DLL on the 98 machine. Or a required DLL is not uptodate. Have a look at the dependent DLLs of your control and then check the versions of these DLLs on both machines.

You can see the dependents of a DLL, EXE, or OCX using the depends tool in of Visual Studio (it's off the start menu.)

If I am right you will need to copy these DLLs from your 95 machine to the 98 machine.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:chensu
ID: 2646674
Debug it to see what happens with your DllRegisterServer.
0
 

Author Comment

by:ycl
ID: 2648184
Mr. Mnewton's answer is quite right. But I have another question that how to prevent the run-time-visible ocx from sizing or drawing at design-time?
0
 

Expert Comment

by:wardkd
ID: 2648199
Override the OnDraw() method in your ctrl class.
0
 
LVL 23

Expert Comment

by:chensu
ID: 2649870
If mnewton's answer is right in your case, you may accept the comment as an answer. And please post a new question for the different question.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 104
Use of condition with 'serial' in ansible 2 102
Updating statistics with error notification email in SQL server 4 130
Way to decrease size of apk file 9 132
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question