Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Unable to register VB dll created in 32 bit in 64 bit Windows 7 Machine. getting the below error. and also not able to give reference to my dot net project

Thanks, Pradeep

enter image description here

share|improve this question
add comment

migrated from stackoverflow.com May 24 '11 at 10:16

This question came from our site for professional and enthusiast programmers.

1 Answer

You need to use the 32 bit version of regsvr32. For example:

C:\Windows\SysWOW64\regsvr32.exe /i "C:\New Folder\M2MJOMastAPI_601.dll"

What's more, if you have UAC enabled, then you will need to run regsvr32 as an elevated process. I generally do this by running the Command Prompt as Administrator (right click on the shortcut and select Run as Administrator) and then executing the 32 bit regsvr32 from there.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.