Hot to pass error in Dynamic link library

Hi...
  I ma trying to write dll in C++ and calling them in Labview through Labview, below is the test programme to pass error,
#include "extcode.h"
typedef struct
    char  status;
    int  code;
    unsigned char  source[10];
} er;
 _declspec(dllexport)unsigned long int error(er* error);
 _declspec(dllexport)unsigned long int error(er* error)
     error->status=TRUE;
     error->code=10;
   error->source ="Error";
     return 1;
when i run this dll through labview i get error,please  suggest way to do this,
Warm Regards
Orooj Ahmed 

What error? How have you configured the Call Library Function Node?

Similar Messages

Maybe you are looking for

  • DW CS6: Extra empty blank line in code view causing trouble!

    Hi all, I searched for hours for a solution to the following problem, without any success. When coding in Dreamweaver CS6 (Version 12.0, Windows 8.1), an extra non-editable blank line is automatically added at the bottom of the document (in code-view

  • Attachement List - Table Name

    Dear All, we are using the attachment list in the sales order that can be reached via "Services for Objects". We are then archiving all order confirmations and they are then displayed in this attachement list. I now want to crate a report that shows

  • How can I use this arrray?

    I have written arguemnts to add severals shapes to the scene(by using createVrmlFromString()), all the shape nodes stored in shapeArray[], now I'd like to use another array(b[]) to get the index of each shape nodes which has been added to the secne,

  • My Macbook 10.5.8 won't read audiobook discs.

    It reads CD's and DVD's fine, but, when I put in an audiobook disc it sometimes spins but never catches or just spins and spits it out. However, sometimes, it reads the discs just fine, but, only certain titles. Can anyone help? Thanks!

  • VA03 doesn't display sales order

    Good morning Using an ITS 6.20 patch level 28 i have the following problem : When i use the trx VA03 and entering an order , i click on button search . The ouput is a new screen where i can see all the tabs referring that order. The problem is that i