Jaco Greeff jaco@puxedo.org writes:
- Calling the popen function returns a FILE* which needs to be
converted to a MSVCRT_FILE*. The apprach taken here is potentially not the best route but the only one I could think of. Is it suffiecient?
No, it's wrong. You should be using the Windows API (CreateProcess etc.) not the Unix popen(). Then you can build a proper MSVCRT_FILE.