Why isn't a dll loading when I open my solution?
I have a solution (Visual Studio 2008) that contains a couple of products.  One of these products contains a control that was developed by a colleague that requires loading of a dll.  The dll must be loaded when the solution is loaded so that I can view and use the control.  However, I am getting errors in the error window saying the control is not defined.  When I look on another system (Windows XP Pro) that has VS installed and uses this product and dll, it works fine.  However, when I try to load it on my system (Windows 7), I get the errors.  

I used Process Explorer on both systems to verify that the dll in question is being loaded.  On the XP system where everything works fine, I can see the dll needed is being loaded from C:\windows\system32.  I have the dll in the same location (c:\windows\system32) on my Windows 7 box.  However, when I load the solution on the Windows 7 box, I can see through Process Explorer that the dll does not load.  I know c:\windows\system32 is in the path and I can see other dlls from windows\system32 have been loaded by the visual studio executable image.  Why wouldn't this dll be loading?  Is there some logging mechanism within VS that will tell me at load time (when I load the project containing the control) why the dll will not load?

Is this a Windows 7 thing?  Should I not be putting a developed dll in windows/system32?

Help is appreciated.
Thanks.
Why isn't a dll loading when I open my solution?
===

I have a solution (Visual Studio 2008) that contains a couple of products.  One of these products contains a control that was developed by a colleague that requires loading of a dll.  The dll must be loaded when the solution is loaded so that I can view and use the control.  However, I am getting errors in the error window saying the control is not defined.  When I look on another system (Windows XP Pro) that has VS installed and uses this product and dll, it works fine.  However, when I try to load it on my system (Windows 7), I get the errors.  

I used Process Explorer on both systems to verify that the dll in question is being loaded.  On the XP system where everything works fine, I can see the dll needed is being loaded from C:\windows\system32.  I have the dll in the same location (c:\windows\system32) on my Windows 7 box.  However, when I load the solution on the Windows 7 box, I can see through Process Explorer that the dll does not load.  I know c:\windows\system32 is in the path and I can see other dlls from windows\system32 have been loaded by the visual studio executable image.  Why wouldn't this dll be loading?  Is there some logging mechanism within VS that will tell me at load time (when I load the project containing the control) why the dll will not load?

Is this a Windows 7 thing?  Should I not be putting a developed dll in windows/system32?

Help is appreciated.
Thanks.