05-02-2012 04:18 PM
Hello,
I try to convert a project from 8.6 to 2011 and I got this error message when building a DLL with LabVIEW.
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error -2147221480 occurred at Building DLL.
An error occurred compiling the DLL because a function or parameter name is illegal. Please verify that the function and/or parameter names are legal C identifiers and do not conflict with LabVIEW headers.
Additional Information: HandleManager.c - 20 errors, 5 warnings
71, 5 syntax error; found 'identifier' expecting '}'.
71, 23 Warning: Empty declaration.
74, 5 Unrecognized declaration.
85, 5 syntax error; found 'identifier' expecting '}'.
85, 26 Warning: Empty declaration.
86, 5 Unrecognized declaration.
104, 5 syntax error; found 'identifier' expecting '}'.
104, 25 Warning: Empty declaration.
107, 5 Unrecognized declaration.
116, 5 Invalid struct field declarations.
116, 5 syntax error; found 'identifier' expecting '}'.
116, 24 Warning: Empty declaration.
117, 15 syntax error; found 'identifier' expecting ';'.
119, 5 Unrecognized declaration.
125, 5 syntax error; found 'identifier' expecting '}'.
125, 22 Warning: Empty declaration.
127, 9 syntax error; found 'identifier' expecting ';'.
128, 5 Unrecognized declaration.
132, 47 Missing parameter type.
132, 51 syntax error; found '*' expecting ')'.
143, 47 Missing parameter type.
143, 51 syntax error; found '*' expecting ')'.
169, 12 Undeclared identifier 'DRXParamIn'.
174, 12 Undeclared identifier 'InitRFSG_UConly'.
179, 12 Undeclared identifier 'GeneralParameters'.
ERROR_REPORTED_TO_USER
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2147221480) or for its hexadecimal representation (0x80040018).
And the function Prototype is as following:
Is there something wrong with it that generate this error?
Dany
05-03-2012 11:16 PM
Hi Dany,
It would seem that the error indicates one of your variables may have a character that is not an acceptable C identifier. Try naming your variables in conduct with these rules.
http://msdn.microsoft.com/en-us/library/e7f8y25b.aspx
Hope this helps!
05-04-2012 09:14 AM - edited 05-04-2012 09:15 AM
05-04-2012 04:46 PM
Hi Dany,
I see that you opened an SR (7351353) with Nathan and that he was able to help you out. With that, I hope all is well and best of luck with your project!
05-07-2012 09:51 AM