getsafehwnd()问题
请教大家,vc中有一个函数为getsafehwnd()来获得一个句柄,如果用LV来实现此函数对应的API中的函数是哪个? 顶起来.............. 获得当前窗口的句柄你可以用FINDWINDOW来做 获得当前窗口的句柄
你可以用FINDWINDOW来做
lgh269 发表于 2007-4-4 13:30 http://www.cpubbs.com/bbs/images/common/back.gif
调用dll函数时,说明如下,
SSIDLL_API int __stdcall SSIConnect(HWND hwnd, long Baud, int Port);
where:
• hwnd is the handle of the window whose procedure will receive Windows
messages from the library.
• Baud is the baud rate to use
• Port is the COM port number to open
Return Values
• SSICOMM_NOERROR if the COM port was opened successfully.
• An error code if an error occurred (see Table 1-1 on page 1-32)
Example
int status;
// using baud rate of 9600, com port number 1
status = SSIConnect(m_hWnd, 9600, 1); 请问如何把example中的函数转换到labview中呢
主要是这个hwnd,不知道怎么弄
希望老大给指点一下,最好能给个labview8.2或以下版本的例子
谢谢了 老大能给个例子吗?
我也遇到了类似的问题
如下
http://www.cpubbs.com/bbs/viewthread.php?tid=62541&extra=
急需帮助
呵呵
页:
[1]