Stefan Eriksson a écrit dans le message <37A052C0.7C29266D@home.se>...
>Hi!
>I have a dll consisting of the following simple code:
>
>int __stdcall Array_dll_test(int data1, int data2)
>{
> return (data1 == data2);
>}
>
>How do I set up my CLF in LabVIEW? I have tried several possibilities
>but LabVIEW can't seem to find the function in the library... Please
>help!
>
>/Stefan
>
If you want to prevent function name mangling, you can change your source
filename extension with ".c" but if you want keep ".cpp" extension you can
write:
extern "C" {
.......
}
around function prototype and around function bodies.