Hello all, I'm trying to compile the Smart Packet Analyzer. I've added the TibiaAPI reference and the code is compiled with FrameWork 4.0.
However, I'm getting an error at application launch;
Code:
System.BadImageFormatException: Could not load file or assembly 'TibiaAPI, Version=2.10.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'TibiaAPI, Version=2.10.2.0, Culture=neutral, PublicKeyToken=null'
at SmartPacketAnalyzer.MainForm.DisplayPacket()
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.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)
Any ideas?