Git Product home page Git Product logo

Comments (12)

rodrigocfd avatar rodrigocfd commented on June 6, 2024

I made two commits to stricten the behavior of MapViewOfFile, but I'm unsure it would make any difference in x86 architectures. The behavior of the C implementation is the same for any architecture.

What's the latest Windows to support x86? I can try downloading an ISO and installing it in a VirtualBox machine to test.

from windigo.

Hoto-Cocoa avatar Hoto-Cocoa commented on June 6, 2024

I updated windigo but fail as same. The last Windows that supports x86 is Windows 10. However, just build with GOARCH=386 and running it on x64 Windows also fails as same.

from windigo.

rodrigocfd avatar rodrigocfd commented on June 6, 2024

I made a search and there seems to be a number of issues with MapViewOfFile in x86 architectures. As a solution, I simply reimplemented the loading routine in the Ini, which will not use FileMapped in x86.

Please let me know if this solves your issue.

from windigo.

Hoto-Cocoa avatar Hoto-Cocoa commented on June 6, 2024

It seems new version not published, Should I wait?

from windigo.

rodrigocfd avatar rodrigocfd commented on June 6, 2024

The pkg.go.dev may take some time to deploy the documentation, but the code is already commited. You can use it right away.

from windigo.

Hoto-Cocoa avatar Hoto-Cocoa commented on June 6, 2024

Thanks for let me know, I just tried update and got new version.

However, now [87 0x57] The parameter is incorrect. error occurred.

from windigo.

rodrigocfd avatar rodrigocfd commented on June 6, 2024

This error is coming from which function call?

from windigo.

Hoto-Cocoa avatar Hoto-Cocoa commented on June 6, 2024

It is abst_File.go file, ReadAll function, and first call of me.Seek().

from windigo.

rodrigocfd avatar rodrigocfd commented on June 6, 2024

I found that SetFilePointerEx doesn't work in x86 architectures, so SetFilePointer must be used instead. This is an undocumented behavior, apparently.

Let me know if this works for you.

from windigo.

Hoto-Cocoa avatar Hoto-Cocoa commented on June 6, 2024

Now WriteFile: %!w(<nil>) error occurred. It seems to changes in c71c216 caused make err != nil always true.

However, the file saved successfully.

from windigo.

rodrigocfd avatar rodrigocfd commented on June 6, 2024

I missed an error check, please try again.

from windigo.

Hoto-Cocoa avatar Hoto-Cocoa commented on June 6, 2024

It now works perfectly! Thanks a lot for the support.

from windigo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.