Added native mode dll support (based on a patch by Marcus Meissner).

5 files changed