Ask the Expert

Problem with ActiveX on Win2000

I have a problem with ActiveX on Win2000. I made a new project using the Microsoft ActiveX Control Wizard. I made no changes to the generated code. When I compile the sources, and try to register the .ocx file, it gives me an error: "LoadLibrary failed. Invalid access to memory location." This works fine with VC++6 on WinNT, but not for VC++6 on Win2000.

Requires Free Membership to View

You should get the latest service pack for Visual C++ 6, which is SP5 and see if that fixes the problem. Additionally, you should try and debug the DLL to see what's wrong. You can easily debug the DLL registration by setting breakpoints in the entry points and using REGSRV32.EXE as the executing application.

This was first published in May 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: