Quantcast
Channel: patterns & practices - Smart Client Guidance
Viewing all articles
Browse latest Browse all 27

New Post: how to create a VTK.Net View?

$
0
0
Hi,

Looking at the exception, it seems that the key behind the problem is the following one:
 InnerException: System.BadImageFormatException
        Message="Could not load file or assembly 'Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies.  
        An attempt was made to load a program with an incorrect format ."
        Source="Module2"
        FileName="Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44"
Based on my understanding, the " An attempt was made to load a program with an incorrect format" message appears when trying to load a corrupted dll or an unmanaged non-COM 32-bits dll inside a .NET application built for 64-bits architectures. As a starting point, please check that your build configurations a targeted to x86.

Also, I am not familiar with the Visualization Tooltik (VTK) but I believe the following library could be useful to develop .NET applications with it (in case you are not using it already):
Regards,

Damian Cherubini
http://blogs.southworks.net/dcherubini

Viewing all articles
Browse latest Browse all 27

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>