Bert Belder: > > Are you sure you are not creating an additional thread for your addon?
Yes, no threading. Even the hello world example causes an access violation: http://nodejs.org/docs/latest/api/addons.html#addons_hello_world When I however empty the init function it'll run. I can put any code there, just nothing from libuv and v8. > You should also make sure that your addon links to the same version of the > CRT as node. Node statically links the crt with /MT. I had /MD and changed to /MT. No change. My addon works with an unmodified node version, even with /MD. The problem must have something to do with my wWinMain patch. When I change back to `wmain` and recompile, it works. But I need to get rid of the console, hiding is not an option since the console will still appear for some milliseconds. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
