hi,
i want to know what is the function of _declspec(dllimport) ? because my project is that firstly my C++ program will input a integer into DLL, the variable in dll will be exported to LABVIEW program via the export function.I have written two export function in dll, one is for C++ input( say, export program a), another is for LABVIEW (export program b)and there is a variable called command in DLL program. I am not sure if this approach will work. because once i execute the C++ program ( different workspace with DLL program, that means there are two workspace), i think i can input the integer to dll, however, at the same time, when i open my labview and try to read this variable from program b, the error occur? does it mean that i cant access the same
DLL from C++ and labview at the same time? will the variable in dll change after i input the integer from C++ using export function?
can u suggest me some way or other approach to deal with it ? thanks for help a lot!