LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In my call library function my function prototype has "strange" characters

When I try to look at my call library function everything is set up ok but the function prototype has awkward characters in it. The charaters are not part of my functions and dont exist aywhere in my c code. Yet somehow I get a "@@YAHPAD000@Z" stuck between the function name and the parameters. Where can they be coming from???
Thanks in advance for your continued help.
-Dave

See attached screen shot for details
0 Kudos
Message 1 of 2
(2,421 Views)
I found this link...

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000018D20000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&UPostedFromTimeSearchArg_0=1&UPostedFromTimeSearchArg_1=5&UPostedFromTimeSearchArg_2=2004&UPostedFromTimeSearchArg_S=4&UPostedToTimeSearchArg_0=28&UPostedToTimeSearchArg_1=10&UPostedToTimeSearchArg_2=2004&UPostedToTimeSearchArg_S=4&USEARCHCONTEXT_TIER_0=2&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=function+prototype&USEARCHCONTEXT_QUESTION_S=0

it answers my question, I needed the to use extern C.

At least now my prototypes look normal.
0 Kudos
Message 2 of 2
(2,421 Views)