大家好, 最近小弟碰到一个问题
要将原在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
感谢!