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

Windows XP compatability issues. #574

Closed
Yanrishatum opened this issue Mar 3, 2017 · 3 comments
Closed

Windows XP compatability issues. #574

Yanrishatum opened this issue Mar 3, 2017 · 3 comments

Comments

@Yanrishatum
Copy link

Currently HXCPP application crashes on Windows XP due to usage of functions that are not present in Window XP. Both app and libraries (std/zlib/etc) are built with -DHXCPP_WINXP_COMPAT flag.
Identified at least two of them: inet_pton and iten_ntop in winsocks2.h / WS2_32.dll.
Additionally dll files that are bundled in Haxelib release is clearly broken for WinXP (false for FileSystem.exists(Sys.getCwd()) is clearly something out of nightmares.)

hughsando added a commit that referenced this issue Mar 8, 2017
@hughsando
Copy link
Member

I have loaded these functions dynamically - hopefully should make this link for you.
Not sure about the other issues. Hxcpp should no longer be using dlls - the Sys.getCwd should be coming from src/hx/libs/std/Sys.cpp now. So that might be a place to start.

@Yanrishatum
Copy link
Author

It seems that problem with MSVC runtime package. stat functions returns -1, which is apparently know issue. So far problem not with HXCPP directly on that problem.

@Yanrishatum
Copy link
Author

Closing issue, as inet_* was fixed, and other issues were not directly HXCPP-related, and required updating Windows Kit. Thanks.

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

2 participants