LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

activex server

Hi,
i have a few questions about Activex Server. I am newly with Labview CVI, and i want to create a Activex Server or a DLL. I looked at Examples, and i want to do as same as what it is in Examples.
For Example: Datatypes Server.prj.
i did, what i see in this example, and wizard had created test_axs.h, test_axs.h, test.axs and test_axs.idl.
my question is, should i create a C source code?
Because in this example Datatypes.c File existiert.
must i write my own C code, or, Labview CVI creates it?
why i am asking this,because it gives error, for ex. "Undefined symbol '_testOBJtest1LongScalar@8 referenced in 'test_axs.c'
i have read the post about this question before,and it should be added a library. Although i added Labview.lib, i became this error.
 
Thanks
 
0 Kudos
Message 1 of 2
(2,811 Views)
hello hakan_s,

you have to create your own c-file, where you program the code you actually want to implenent for your ActiveX server. you can copy the prototypes out of the generated h-file.

here is a tutorial for creating ActiveX servers in CVI.

regards,

robert h
NI germany
0 Kudos
Message 2 of 2
(2,791 Views)