Posted: Sun Jul 04, 2010 7:33 am Post subject: I wanna install SQL Compact on wince 6
I wanna install SQL Compact on my device which is running wince 6.
First time after installation SQL Compact .cab files downloaded from Microsoft website "http://www.microsoft.com/sqlserver/2005/en/us/compact.aspx" applications using this instance of SQL running correctly.
My problem starts after restarting my device.it seems that after restarting my application can not load SQL Compact DLLs printing this error message:
"Can't find P/Invoke DLL sqlceme30.dll"
//in this line of code I get error
[u]using (SqlCeEngine engine = new SqlCeEngine(connectionString))[/u]
{
engine.CreateDatabase();
}
using (SqlCeConnection connection = new SqlCeConnection(connectionString))
{
connection.Open();
// preform queries just like "regular" SQL Server
}
}
In addition I have compared registry contents before and after restating the device and I found that there are many differences between them, so how can I import SQL Compact to NK.nb0 file of wince 6.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Copyright 2001-2010, Chris De Herrera, All Rights Reserved