Fri, 04/18/2008 - 10:02
Forums:
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
Does anybody have an idea how I could fix that?
I use VS 2005 Professional.
Thank you and best regards
Arno
Fri, 04/18/2008 - 13:19
Check my post:
http://www.opencascade.org/org/forum/thread_12788/
maybe this helpls.
Pawel
Fri, 04/18/2008 - 15:33
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?
Arno
Fri, 04/18/2008 - 21:26
Hi Arno,
no necessarily. It look a bit as if the OCC dlls are not visible to the application. Are all the paths set?
Pawel
Fri, 04/18/2008 - 21:29
Hi Pawel,
I also think so! Where can I set the pathes to the OCC dll's?
Arno
Sat, 04/19/2008 - 20:09
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.
Arno