Issue on Dll Register after migrating the project from **VS 2012** to **VS2013**

0

I`m having a Issue on Dll Register after migrating the project from VS 2012 to VS2013

Actually Im working on a custom project, were we qualify our application on each visual studio version, previously we did a migration for VS 2010 to VS 2012, during which there was no issues with any components but now when Migrating from VS 2012 to VS 2013, we are facing a issue while registering a dll.

I don't see any major differences in the current migration process when compared with that of the previous migration activity what we have carried out so far.

Error Message:

We are getting The module "XXX.dll" was loaded but the call to DllRegisterServer failed with error code 0x80020009.

We are using Windows7, 64 bit machine and the project is built on 64 bit project setting. The command prompt to register the dll is executed in administration mode.

What we have Tried so far:

Any help on this will be much appreciated.

c++
visual-studio-2012
dll
visual-studio-2013
migration
asked on Stack Overflow Jul 17, 2014 by dreamweiver • edited May 23, 2017 by Community

1 Answer

1

Finally after struggling so much with this issue, i was able to solve this problem .

The main issue was with a 3rd party Library called Smart Heap, which is not supported/compatible with VS 2013 and hence it impacted the DLL registration of the other DLL's.

I was able to identify the Root Cause , by excluding all the 3rd party libraries and building the solution seperately, which resulted in a successful registration of the respective DLL's smoothly without any glitches.

Special Thanks to Bathsheba, who helped me in thinking in a way i was able to isolate the problem by excluding every 3rd party component separately and verifying the problem.

Thanks Bathsheba

answered on Stack Overflow Jul 17, 2014 by dreamweiver • edited May 23, 2017 by Community

User contributions licensed under CC BY-SA 3.0