Archived discussion
C# Sample - File or assembly not found
Hello,
I have tried the C# sample. But when I call a method from the shell class I got an error like this:
"The File or assembly , or one of its dependencies, was not found.
Does anybody have an idea how I could fix that?
I use VS 2005 Professional.
Thank you and best regards
Arno
Discussion
5 archived replies
Posts are displayed in their archived order.
Hi Pawel,
thank's for reply.
All dll files like occ.dll and shell.dll and the app.exe are in the same directory. But it doesn't work yet. Should I copy all files from the debug folders (occ and shell) in the app.exe debug folder?
Commenter-2
Hi Arno,
no necessarily. It look a bit as if the OCC dlls are not visible to the application. Are all the paths set?
Commenter-1
Hi Pawel,
I also think so! Where can I set the pathes to the OCC dll's?
Commenter-2
Hi Pawel,
It works! I programmed my own c# project and added a new C++ project with the wrapper classes OCCViewer and shell.
Thank's for your help.
Commenter-2