Solved

Tell me little,earn more(about ocx)

Posted on 2000-03-22
7
192 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rewrite URL With Encoded Characters 6 75
Folder Comparison 12 53
MaxSpan challenge 9 79
Remove Password Protection from pdf (with password) using an command line executable 5 22
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 …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

930 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

13 Experts available now in Live!

Get 1:1 Help Now