LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

creating a dll

Hello,
 
could anybody help me by creating a dll.
I work since two month with LabView and I have a dll with this struct.
 
typedef struct tagSERVICE
      {unsigned char  bService,                 //service to execute
                     fShortCnf;                           //short confirmation enable
      unsigned short wTargetAddress;     //target address or PC-interface
      unsigned short wIndex,                     //Parameter-Index
                     wDataLength;                    //Anzahl PD bei READ..., WRITE.. bzw. Nutzdaten bei SCOPE
      unsigned char  bTeleType;               //0:zykl. sonst: azyklische Telegramme
      union
        {
        long          lDate;                               //standard READ, WRITE
        unsigned char abData[10];               //abData[0]:# of channel with GET_SCOPE
        }Data;                                                //abData[1]:# ob block  with GET_SCOPE

      unsigned short awPA[10],                  //process data to send
                     awPE[10];                           //received process data
      unsigned char far* fpbDataPointer;
      unsigned char      abReserve[10];
      ERRORMSG           Error;
      }SERVICE, far* FPSERVICE;
 
I have no Idea how creating a wrapper.dll
 
 
Thanks in advance
 
Nico
Download All
0 Kudos
Message 1 of 2
(3,380 Views)

I'm not sure I understand correctly... here is some info:

From the menu, under "Build", select "Target Type" and choose "Dynamic Link Library".

Also under "Build", select "Configuration" and choose if you want debug or release.

Then again under "Build", select "Create xx Dynamic Link Library", where xx is Release or Debug.

 

Of course, your code has to be complete with support files etc...  Was this what you were looking for?

RayR

0 Kudos
Message 2 of 2
(3,364 Views)