-
Notifications
You must be signed in to change notification settings - Fork 27
System.AccessViolationException win7 x32 but x64 no problem #30
Comments
Are you sure you're using different builds of libtoxcore for 32-bit and 64-bit? |
I'm pretty sure that I've strictly distinguished between 32-bit and 64-bit systems |
libtcx.dll.zip |
if i use libtoxcore-toktok_build his dll ,so it's gonna be "Could not create a new instance of tox, error: LoadBadFormat, decrypt error: Ok" |
I tried to reproduce this and I ran into the same issue. It's funny how things can suddenly break after years of not touching it. Also, this library is not compatible with TokTok's fork of toxcore, so that's not going to work. It probably wouldn't be too much effort to update SharpTox to be compatible with it, but I don't have time to work on that right now. |
Do you mean there is no way to solve the problem at present |
This is a bug in SharpTox's C interop code, not toxcore itself. |
I didn't solve the problem, but I appreciate alexbakker's reply |
Hello,alexbakker, didn't you use x86 testing when you started this project? Can you provide .so files? |
I did, but it doesn't work anymore for some reason and I don't have time to investigate why right now. The .so files you're talking about are for POSIX systems, not Windows. If you want to obtain those, it's easiest to compile toxcore on your own system and use the resulting shared libraries. |
I'm willing to pay for SharpTox compatibility with toktok libtox |
Let's discuss that in private. Could you send me an email? My address is in my GitHub profile. |
应用程序: FreeChat.exe
Framework 版本: v4.0.30319
说明: 由于未经处理的异常,进程终止。
异常信息: System.AccessViolationException
堆栈:
在 SharpTox.Encryption.ToxEncryptionFunctions.PassEncrypt(Byte[], UInt32, Byte[], UInt32, Byte[], SharpTox.Encryption.ToxErrorEncryption ByRef)
在 SharpTox.Encryption.ToxEncryption.EncryptData(Byte[], System.String, SharpTox.Encryption.ToxErrorEncryption ByRef)
在 SharpTox.Core.Tox.GetData(System.String)
在 FreeChat.App.SaveData()
在 FreeChat.App.Start(System.String, System.String)
在 FreeChat.Form_LoginTox.button_login_Click(System.Object, System.EventArgs)
在 System.Windows.Forms.Control.OnClick(System.EventArgs)
在 System.Windows.Forms.Button.OnClick(System.EventArgs)
在 System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs)
在 System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
在 System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.ButtonBase.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
在 System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
在 System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
在 System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
在 System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
在 System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
在 System.Windows.Forms.Form.ShowDialog()
在 FreeChat.Form_StartChat..ctor()
在 FreeChat.Program.Main(System.String[])
The text was updated successfully, but these errors were encountered: