devxlogo

Registering DLL Files

Question:
When I try to register a DLL I created in VB6, I get the message that tells me the DLL is not a valid windows NT image. At the run command I enter:

regsvr32 C:app.vbp

Isn’t this the proper way to register a DLL?

Answer:
RegSvr32 is the correct program to use; however, you can only register DLL files. You can’t register the projects used to create them in Visual Basic. Provide the full path to the DLL to RegSvr32 and the library file will register correctly.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.