Started the CLI code. Dumping this bull crap and going to use standard PInvoke and let the managed project be the head assembly.