I think the problem is the decorated function names that the VC compiler is generating. You need to use the
extern "C" statement when generating the dll so that CVI (an ANSI C compiler, which does not handle decorated function names) will be able to find the function accordingly.
You can actaully view the functions in your dll by using a tool called
Dependency Walker, and you can see how the function is named. Just a quick tool you can use when using dll's.
Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI