dll
各位高手,可否解决本人的一个问题,我欲调用如下DLL 文件, alll_API int hello (BYTE* lown); // to active the lown // lown is a buffer of 3 elements // change llown[] is [L_DIS, 0, 0] // alternate lown[] is [0, L_ELE_AL, 0]
如果用字符串数组,而DLL 必须返回的是一个DATA型的数组,这样是行不通的,如果要调用上述DLL 文件,是否必须重新编译DLL,还是用CIN呢 alll_API ? stdcall?
int hello (BYTE* lown); "Call Library Function Node.vi" setting: 1. return type: Numeric | Signed 32-bit Integer 2. arg1 | Numeric | Unsigned 8-bit Integer | ointer to value
LV 输入 1D(或者多维)U8 array,输出为 I32。 > TCHART: A WCHAR if UNICODE is defined, a CHAR otherwise. > WCHAR: 16-bit Unicode character. > CHAR 8-bit Windows (ANSI) character.
★所有的 Windows 数据类型请参考以下链接★: http://msdn.microsoft.com/librar ;... dows_data_types.asp
EpromW(TCHART Efile[],HWND,hWnd) "Call Library Function Node.vi" setting: 1. 如果返回类型是 void,return type: void 2. arg1: 直接用 string 试试看 3. arg2: Numeric | Unsigned 32-bit Integer | value
ps: HWND 就是窗口句柄,一般用 DWORD,就是 U32 |