Application cannot load sqlcese35.sys.dll (Full Version)

All Forums >> [SQL Server CE] >> SQL Server 2005 Compact Edition



Message


MrRalphMan -> Application cannot load sqlcese35.sys.dll (6/27/2008 7:25:42 AM)

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.




petevick -> RE: Application cannot load sqlcese35.sys.dll (7/5/2008 12:30:33 AM)

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)




MrRalphMan -> RE: Application cannot load sqlcese35.sys.dll (7/5/2008 7:54:19 PM)

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.




petevick -> RE: Application cannot load sqlcese35.sys.dll (7/6/2008 1:15:24 AM)

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




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.016