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

Embed node.js to win32 Application #12338

Closed
823639792 opened this issue Apr 11, 2017 · 6 comments
Closed

Embed node.js to win32 Application #12338

823639792 opened this issue Apr 11, 2017 · 6 comments
Labels
build Issues and PRs related to build files or the CI. question Issues that look for answers. windows Issues and PRs related to the Windows platform.

Comments

@823639792
Copy link

node.js version is 7.5.0

I want to embed node.js in my win32 application.
So I write an “windows console application” demo (/SUBSYSTEM:CONSOLE), is run ok.
And when I run in “window” demo (/SUBSYSTEM:WINDOWS) is run ok but can't debug.
It‘s my code:

MyApplication.exe --inspect -e "setTimeout(function() { console.log('yes'); }, 30000)"

And I follow the stack find always "report_handshake_failure_cb" but I can not resolve it.

Who can help me?
Or
Where can I find examples?

@vsemozhetbyt vsemozhetbyt added question Issues that look for answers. windows Issues and PRs related to the Windows platform. labels Apr 11, 2017
@vsemozhetbyt
Copy link
Contributor

cc @nodejs/platform-windows

@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Apr 11, 2017
@mscdex
Copy link
Contributor

mscdex commented Apr 11, 2017

This is probably better asked on the nodejs/help repo.

@823639792
Copy link
Author

823639792 commented Apr 12, 2017

Oh, I find it.

in util.c
uv__get_process_title
uv_set_process_title

It's depends Console api, but in my windowed application (/SUBSYSTEM:WINDOWS) node can't access Console api.

but still can't inspect. inspect page not show any file.

@bnoordhuis
Copy link
Member

I'm going to close this out. As @mscdex says, support questions should be directed to the help repo.

@bnoordhuis bnoordhuis added the invalid Issues and PRs that are invalid. label Apr 12, 2017
@refack
Copy link
Contributor

refack commented Apr 14, 2017

Oh, I find it.

in util.c
uv__get_process_title
uv_set_process_title
It's depends Console api, but in my windowed application (/SUBSYSTEM:WINDOWS) node can't access Console api.

but still can't inspect. inspect page not show any file.

@823639792 Open an issue in nodejs/help, and I'll try to help you

@823639792
Copy link
Author

@refack I move it in nodejs/help#585

@refack refack added wrong-repo and removed invalid Issues and PRs that are invalid. labels Apr 17, 2017
@refack refack self-assigned this Apr 17, 2017
@refack refack removed their assignment Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. question Issues that look for answers. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

5 participants