Skip to content

Access Violation with winCreateEx #1355

Description

@SabeDoesThings
Image

I am on Windows and using hlsdl.
I've built hashlink from source and I get this access violation. I honestly have no clue why this is happening because I remember getting this long ago as well but I just switched to hldx but I want to use hlsdl.

Here is my build.hxml, launch.json, and Main.hx if it helps at all.
build.hxml

-cp src
-lib heaps
-lib format
-lib hlsdl
-hl hello.hl
-main Main

launch.json

{
	"version": "0.2.0",
	"configurations": [
        {
            "name": "HashLink",
            "request": "launch",
            "type": "hl",
            "cwd": "${workspaceFolder}",
            "preLaunchTask": {
                "type": "haxe",
                "args": "active configuration"
            }
        }
	]
}

Main.hx

class Main extends hxd.App {
    override function init() {
        var tf = new h2d.Text(hxd.res.DefaultFont.get(), s2d);
        tf.text = "Hello Hashlink !";
    }
    static function main() {
        new Main();
    }
}

If anything else is needed to be seen or more information you want to know just ask.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions