HaxeFoundation / HaxeFoundation/hxcpp

Exception code c0000005 if executable path contain non-English characters

Open
#935 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

I was testing an empty Haxeflixel template using “lime test windows”
and everything went smoothly, “hello world” window shows up

but
if I use “lime build windows”, and then double click on executable I just compiled
it will throw me “XXX.exe has stopped working”
exception code c0000005

the weird thing I found is that If I simply move executable to other folder which path are all English characters, the problem just disappeared

also if I add -debug when compiling then this problem is gone again

I asked in Openfl forum first and someone say it's an existing problem issue with hxcpp?

The only workaround for now is compile it with debug flag

All library I’m using are latest version
I’m using Visual Studio Code with VS 2017 build tool

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.