Can you give this a try?
Copy the ssce20.dll from the SQL CE setup directory under "C:\program
files\microsoft sql server ce 2.0\device\x86\i486" to the emulator. Then
register ssce20.dll using regsvrce.exe located under "C:\Program
Files\Microsoft eMbedded C++ 4.0\EVC\WCE400\TARGET\X86". Now run the
NorthWindOleDb sample.
-Prasanna

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: NorthwindOleDb sample
| thread-index: AcQP0xIRILn3Pwq8SJOSP38LwOXnEA==
[quoted text clipped - 20 lines]
|
| Hi,
Im VERY new to embedded application development and Im trying to run the
NorthWindOleDb sample using EVC++4.0 and SQL Server CE 2.0 on the PPC 2003
emulator.
I've managed to compile the code after installing the hotfix (with 3
warnings) and the emulator starts, but when i try to launch the
application, I get the following error message....'Error - Initialize
database'
I have read other posts and the solution given is to install product cabs
on the emulator.
If this is the case, then can somebody please explain where I would find
them and how to install them, else if theres something else im not doing
any advice would be appreciated
Thanks a heap
Nirmal
Rama Krishna P - 21 Jul 2005 11:09 GMT
Hi Prasanna,
Ur reply for this post really worked for me. I was able to run my
NorthWindOleDb sample on PocketPC 2003 emulator. I am really thankful to u
for such an useful information.
What i did is, I copied the ssce20.dll to the emulator using "RemoteFile
Viewer" in Windows folder.But i need to register that dll.So i have
downloaded a register tool (regsvr.exe) from "
http://www.pocketpcdn.com/articles/regsvr.html". I copied that exe
(regsvr_x86) in the same place where i have copied the ssce20.dll. Then in
the emulator i have launched the regsvr_x86 exe and I have selected the
ssce20.dll and i could register the dll. Then I could run the NorthwindOleDb
sample. Everything is fine till now. Then again after some time when i am
trying to do the same thing... to my surprise i am unable to register the dll.
I am getting error " Can't Load "\Windows\ssce20.dll", GetLatError returned:
193: %1 is not a valid Win32 application".
May be it is simple for any other but, as i am new to EVC and pocketpc i am
unable to find the mistake.
can u please help me in solving this.
thanks alot
krishna.
>Can you give this a try?
>Copy the ssce20.dll from the SQL CE setup directory under "C:\program
[quoted text clipped - 27 lines]
>
>Nirmal