Login  
Search All Forums
Dart Home | PowerTCP Emulation for .NET | Custom Development Reply | PowerTCP Emulation for .NET Topics | Forums   
AuthorForum: PowerTCP Emulation for .NET
Topic: 64-bit computer, Windows 7
NoraLund

From: Chester, CT USA
Posts: 9
Member Since: 07/16/02
posted November 11, 2009 9:55 AM

Using version 1.1.0.0 of the Dart.PowerTCP.Emulation.VT.dll, I run the following code on a 64-bit computer:
  private void button1_Click(object sender, EventArgs e)
  {
   Dart.PowerTCP.Emulation.Vt vt1 = new Dart.PowerTCP.Emulation.Vt();
  }

and get the following exception :

System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
 at WindowsFormsApplication2.Form1.button1_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I have no problems with the Telnet dll, version 1.0.4.2. From your website version history, it seems that 64-bit os's should be supported for
version 1.1.0.0 of the Dart.PowerTCP.Emulation.VT.dll. Is this true?
NoraLund

From: Chester, CT USA
Posts: 9
Member Since: 07/16/02
posted November 11, 2009 10:11 AM

More info :

I'm using Visual Studio 2008, developing on a 32-bit machine.
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted November 11, 2009 12:32 PM

Version 1.1.0.0 of the Emulation Control is a mixed mode dll and as such any application created with it that is going to be run on a 64-bit system needs to be compiled with an x86 target instead of AnyCPU. The newest version of our Emulation for .NET control (4.0) is entirely managed code and can be run on any compiler target.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Emulation for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX