07-12-2008 03:16 AM
07-14-2008 03:13 AM
Have you tried using the following syntax in the header file for the dll that is created by CVI:
#ifdef __cplusplus
extern "C" {
#endif
// prototypes of functions exported by CVI, imported by VC++
#ifdef __cplusplus
}
#endif"
< td>
This is because VC++ expects function names to be decorated by default, whereas CVI does not. The above syntax tells VC++ to look for plain function names in the dll.
JR