6.5 Sample won't work

I am using VS 2005 to attempt to run the sample IE code for c#
Everything compiles fine (after I updated the link to the libraries in the solution file), and it starts up ok, but when it tries to initialize shell it give me an error
"Could not load file or assembly 'shell, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
I made sure to compile everything in x86/win32 (I know Anycpu caused issues in the past.
When I try and use the code in my product that is currently using 6.3 I get the same issue.
Any advice?
Thank you

sergey zaritchny's picture

Hi Hamish,
I would suggested you to check the sample with Dependency Walker first.
It may help you to locate the main problems.
Regards