This is a non-trivial process, but it can be done. Search the NX Open Programmer's Guide for this headline:
Calling Common API from Legacy Open C Applications
That page contains pretty detailed information about setting this up. It ist written to doemonstrate calling NX Open .Net functions from an Open C program, but your .Net code could be unrelated to NX, presumably.