Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86模式下编译运行报错 #13

Open
Gaomengkai opened this issue Jul 19, 2022 · 2 comments
Open

x86模式下编译运行报错 #13

Gaomengkai opened this issue Jul 19, 2022 · 2 comments

Comments

@Gaomengkai
Copy link
Contributor

报错信息如下:

托管调试助手 "PInvokeStackImbalance":“对 PInvoke 函数“Wpf.Ui!Wpf.Ui.Interop.User32::SetWindowLong”的调用导致堆栈不对称。原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。请检查 PInvoke 签名的调用约定和参数与非托管的目标签名是否匹配。”

\MyComputerManager\MainWindow.xaml.cs下114行

        public void ShowWindow()
        {
            Show();
        }

Show();处中断。只在AnyCPU和x86模式下引发异常,在x64下则无此问题。

@1357310795
Copy link
Owner

1357310795 commented Jul 20, 2022

VS的问题。直接运行是可以的。

这个软件不打算支持x86系统。当然你自己编译出来应该能用。

@Star-ZER0
Copy link

Star-ZER0 commented Aug 2, 2022

VS的问题。直接运行是可以的。

这个软件不打算支持x86系统。当然你自己编译出来应该能用。

还是希望能有个32位版本qwq单位电脑大多不让重装系统,而且很多都是32位系统(6代i7,8g运存装32位win7属实让人血压飙升)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants