From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



怎樣在Visual C++中使用LabVIEW 又不使LabVIEW在工作管理員中顯示為一個應用程式?



硬體:

問題: 我想在我的Visual C++應用程式中使用LabVIEW VI,但我不希望LabVIEW在Windows的工作管理員中顯示為一個應用程式。我該怎麼辦?

解答: 如果你在Visual C++中用ActiveX方式或直接啟動可執行檔的方式使用LavVIEW,LabVIEW會在工作管理員中顯示為一個應用程式。為了避免這種情況的發生,你可以以服務的方式執行LabVIEW而不是以程式的方式執行。服務在Windows的背景運行而不會出現在應用程式列表中。然而他們依然可以在程序清單中找到。MSDN (Microsoft Developer Network)中有怎樣建立服務的例子。打開下列連結可以找到一些例子。

相關連結: Hiding Windows Applications
Finding the Proc ID in UNIX
Finding Proc ID in Windows


附加檔案:





報告日期: 09/06/2002
最後更新: 04/25/2004
文件偏號: 2P5BMCY1