Comments (12)
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.
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.
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.
It seems new version not published, Should I wait?
from windigo.
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.
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.
This error is coming from which function call?
from windigo.
It is abst_File.go
file, ReadAll
function, and first call of me.Seek()
.
from windigo.
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.
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.
I missed an error check, please try again.
from windigo.
It now works perfectly! Thanks a lot for the support.
from windigo.
Related Issues (20)
- How to hide console window? HOT 2
- Any plan to support Mac OS? HOT 2
- [Feature] DDE support/bindings HOT 13
- System tray example? HOT 1
- Any more Golang examples? HOT 1
- Can't get WM_KEYDOWN event when button focused HOT 8
- "Cannot add event handling after the window is created" error when trying to add button to visible window HOT 2
- _RunModalLoop doesn't break HOT 4
- LVM_SETITEMSTATE failed when pressing Ctrl-A to co.LVS_SINGLESEL flagged ListView HOT 2
- Compiling, resource syso workarounds? HOT 3
- How to add List Column to ListView? HOT 2
- How to create Tabs? HOT 3
- Up-Down Control HOT 1
- README example fails to run on WINE HOT 1
- How to create a transparent Window ?
- How to I enable "clickthrough" in windigo?
- How to set environment variables in `CreateProcess`?
- Documentation? HOT 1
- Doesn't work in Windows 7 and 8.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windigo.