Problem solve Get help with specific problems with your technologies, process and projects.

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.
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.

Dig Deeper on Legacy operating systems

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.