Forum archiveIssue archiveOther usage issues

Archived discussion

6.5 Sample won't work

Other usage issuesTue, 04/05/2011 - 16:271 reply

Browse this forum
QuestionAuthor

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

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

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