大家好, 最近小弟碰到一個問題
要將原在Windows CE 5 裝置跑的程式, 改寫放到Windows Mobile 6.5 classic跑
目前遇到的問題如下:
有Imports System.Data.SqlServerCe
程式碼如下:
Private Conn As SqlCeConnection
Dim appPath As String = GetAppPath()
Me.Conn = New SqlCeConnection(Conversions.ToString(Operators.
ConcatenateObject(Operators.ConcatenateObject
("Data Source=", appPath), "\aaa.sdf;password=aaadb")))
Conn.Open()
去Debug發現程式會掛在Conn.opn的時候,
錯誤訊息為
Error: 0x80004005 E_FAIL
Native Error: (25033)
Description: Unspecified error
Interface defining error: IID_IDBInitialize
Param. 0: 1028
Param. 1: 0
Param. 2: 0
Param. 3:
Param. 4:
Param. 5:
已經google過了還是毫無頭緒, 請問一下各位先進有無遇過此狀況該如何解決?
小弟的開發環境是VS2008
感謝!