Q

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.
This was first published in May 2002

Dig deeper on Microsoft Windows 2000 Server Administration

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close