For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

6.5 Sample won't work

Hamish Lewis's picture
Forums: 

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