HI All,
I have use some serial com port functions which are defined in some other project. So I simply copied that .c & .h file (where these functions are defined) in my project and included its name in my project as header file. But while running I'm getting some weird error.
Function definition is:
int CVIFUNC Initialize_SerialComPort(void)
{
int __error = 0;
if (__assemblyHandle == 0)
__errChk(CDotNetLoadAssembly(
__assemblyName,
&__assemblyHandle));
__Error:
return __error;
}
and error is:
NON-FATAL RUN-TIME ERROR: "SerialComPort.c", line 32, col 9, thread id 0x00002504: Function CDotNetLoadAssembly: (return value == -6579 [0xffffe64d]). The LabWindows/CVI .NET Library could not load the specified assembly.
Can anyone tell me what is the issue and how to fix it.