Skip to main content

Application cannot load sqlcese35.sys.dll

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SQL Server CE] >> SQL Server 2005 Compact Edition >> Application cannot load sqlcese35.sys.dll Page: [1]
Login
Message << Older Topic   Newer Topic >>
Application cannot load sqlcese35.sys.dll - 6/27/2008 7:25:42 AM   
MrRalphMan

 

Posts: 3
Score: 0
Joined: 1/13/2008
Status: offline
Hi,

I'm having some issues with getting an application running on my WM2003SE device.
It fails to open sqlcese35.sys.dll.

I have installed all three CAB files.

sqlce.ppc.wce4.armv4.CAB
sqlce.dev.ENU.ppc.wce4.armv4.CAB
sqlce.repl.ppc.wce4.armv4.CAB

But this file is not on my device.. A search on google does not come back with much for this file.

This happens when I try to read from a database, I can create/Insert and select COUNT from it ok though.

Any ideas?

Paul.
Post #: 1
RE: Application cannot load sqlcese35.sys.dll - 7/5/2008 12:30:33 AM   
petevick


Posts: 3386
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
Hi,
what version of SQLCe are you using?

sqlcese35 appears to be part of SqlMobile 3.5 and is not a file I have come across before? Where did you get your deployment cab files (which folder)

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to MrRalphMan)
Post #: 2
RE: Application cannot load sqlcese35.sys.dll - 7/5/2008 7:54:19 PM   
MrRalphMan

 

Posts: 3
Score: 0
Joined: 1/13/2008
Status: offline
Hi,


I'm using 3.5.  The strange thing is that after some more testing, it's only when I'm using GPSGate to simulate the input data that I get this error.
I've run it with a normal BT GPS Unit and it works ok.

The CAB files were in the 4 folder for WM2003SE.

Cheers,

Paul.

(in reply to petevick)
Post #: 3
RE: Application cannot load sqlcese35.sys.dll - 7/6/2008 1:15:24 AM   
petevick


Posts: 3386
Score: 0
Joined: 4/26/2002
From: Bolton - UK
Status: offline
Does the file exist on your system?
Can you load it manually with the LoadLibrary dll?

Sample is

Private Shared Function LoadDLL(ByVal pstrLibraryName As String) As Boolean
Dim hModule As IntPtr = GetModuleHandle(pstrLibraryName)
Dim result As Boolean = True
If (hModule = IntPtr.Zero) Then
hModule = LoadLibrary(pstrLibraryName)
If (hModule = IntPtr.Zero) Then
MsgBox(String.Format("Error loading '{0}'", pstrLibraryName))
result = False
End If
End If
Return result
End Function

Public Declare Function LoadLibrary Lib "coredll.dll" (ByVal fileName As String) As IntPtr
Public Declare Function GetModuleHandle Lib "coredll.dll" (ByVal ModuleName As String) As IntPtr

and use as
If Not LoadDLL("\Windows\sqlcese30.dll") Then 


Pete

_____________________________

Pete Vickers - Microsoft MVP - Device Application Development
www.gui-innovations.com

Please do not email me with questions. Posting your questions in the forums will get a quicker response - Thanks.

(in reply to MrRalphMan)
Post #: 4
Page:   [1]
All Forums >> [SQL Server CE] >> SQL Server 2005 Compact Edition >> Application cannot load sqlcese35.sys.dll Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.016