M
mortee
Hi!
It's been quite long since I last posted here, but now I feel I'm stuck.
What I'm trying is to embed a ruby interpreter into a (multi-threaded)
3rd party app (using its scripting interface and its ability to load
DLLs through it), and run my ruby code by it. After much trial and
error, I've managed to have it work to the extent that I can call into
my own ruby code without having it crash the app.
However, anytime I try to access any networking abilities from ruby, it
crashes the host app immediately, with a MS Visual C++ Runtime dialog
telling me that it's requested to terminate the app in an unusual way,
and a sole OK button. There's no logs, standard output, anything.
Does anyone have some insight as to how I could circumvent this problem?
Some details: I'm trying to embed MRI ruby 1.8.7 (2008-08-11 patchlevel
72) [i386-mswin32] through a DLL compiled using MinGW gcc on WinXP SP2,
and tried to run it on SP3.
thx in advance
mortee
It's been quite long since I last posted here, but now I feel I'm stuck.
What I'm trying is to embed a ruby interpreter into a (multi-threaded)
3rd party app (using its scripting interface and its ability to load
DLLs through it), and run my ruby code by it. After much trial and
error, I've managed to have it work to the extent that I can call into
my own ruby code without having it crash the app.
However, anytime I try to access any networking abilities from ruby, it
crashes the host app immediately, with a MS Visual C++ Runtime dialog
telling me that it's requested to terminate the app in an unusual way,
and a sole OK button. There's no logs, standard output, anything.
Does anyone have some insight as to how I could circumvent this problem?
Some details: I'm trying to embed MRI ruby 1.8.7 (2008-08-11 patchlevel
72) [i386-mswin32] through a DLL compiled using MinGW gcc on WinXP SP2,
and tried to run it on SP3.
thx in advance
mortee