[vtkusers] Instalation of Windows 7

quengzi quengzi at gmail.com
Mon Sep 27 22:26:51 EDT 2010


the vtkFormsWindow is another object in the folder of
"VTK\GUISupport\WindowsForms", u need reference it in your project.

王云
--------------------------------------
http://www.sd-space.com
http://www.gisspace.net


2010/9/28 <lindeval at dmat.ufrr.br>

> The following error occurred while compiling a basic example with
> VtkFormsWindow component in Visual Studio 2008:
>
> contentes of Form1.cs
>
> using System;
> using System.Collections.Generic;
> using System.ComponentModel;
> using System.Data;
> using System.Drawing;
> using System.Linq;
> using System.Text;
> using System.Windows.Forms;
> using vtk;
>
> namespace Exemplo0
> {
>    public partial class Form1 : Form
>    {
>        public Form1()
>        {
>            InitializeComponent();
>        }
>    }
> }
>
>
> Error:
>
> An unhandled exception of type 'System.BadImageFormatException' occurred in
> Exemplo0.exe
>
> Could not load file or assembly 'vtkFormsWindow, Version = 1.0.2386.19730,
> Culture = neutral,
> PublicKeyToken = null' or one of its dependencies. An attempt was made to
> load a program with an incorrect format.
>
>
>
> I am using:
>
> VTK-5.01-control-1.1
> VTK-5.01-wrap-1.1-bin
> VTK-5.01-wrap-1.1-src
>
> ----- Mensagem original -----
> De: lindeval at dmat.ufrr.br
> Para: vtkusers at vtk.org
> Enviadas: Sábado, 25 de Setembro de 2010 20:31:53 (GMT-0300) Auto-Detected
> Assunto: Instalation of Windows 7
>
> Hello everyone! I have the following problem: I can not install on Windows
> 7 VtkDotNet with MSVS 2008 and MSVS 2010. But I can install, MSVS 2008,
> Windows Vista and Windows XP without problems. Has anyone managed to install
> in Windows 7?
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100928/a3fde987/attachment-0001.htm>


More information about the vtkusers mailing list