Solved

Tell me little,earn more(about ocx)

Posted on 2000-03-22
7
191 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
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now