calling dll native entry point for mixed assemblies