1
我試圖讓到Windows CE 5 API呼叫的呼叫,「FindFirstChangeNotification」在VS2008智能設備項目使用WinCE5 API調用LPCTSTR:麻煩經過串
Private Declare Function FindFirstChangeNotification Lib "coredll.dll" _
(ByVal lpPathName As String, ByVal bWatchSubtree As Long, _
ByVal dwNotifyFilter As Long) As Long
Dim strFolderPath As String = "\My Documents\My App Files\"
Dim ptrHandle as IntPtr = FindFirstChangeNotification(strFolderPath, 0, 1)
在嘗試此方法將導致一個「System.NotSupportedException」,我認爲它是字符串類型中的不兼容性。儘管嘗試了不同的編組行爲,但在數天後我仍然陷入困境。在Windows CE
感謝您的答覆!這是問題。 – GSHinks