3 ms·
> And I thought it would be possible to throw a dlopen in a Linux program and load Windows DLLs. No. Execution mode incompatible - see e.g. https://github.com
by mschuster91 11y ago
> And I thought it would be possible to throw a dlopen in a Linux program and load Windows DLLs.
No. Execution mode incompatible - see e.g. https://github.com/wishstudio/flinux/wiki/Difference-between-Linux-and-Windows https://github.com/wishstudio/flinux/wiki/Difference-between... for details.
What would really interest me: how was fork() implemented by MS here? The same method as http://stackoverflow.com/questions/985281/what-is-the-closest-thing-windows-has-to-fork/985525#985525 http://stackoverflow.com/questions/985281/what-is-the-closes... or have different interfaces been created?
- izacus 11y agoSince NT kernel supports fork, I guess that wasn't a problem, since the bash mode doesn't use WIN32 API (which is lacking the fork() function).