using ADOCE in VB.NET

  • Thread starter Thread starter Gustavo Curve
  • Start date Start date
G

Gustavo Curve

Hi,

ist the SQL Server CE 2.0 the only (Microsoft) database could be used in ..NET?

I've copied the adoce30.dll from my PocketPC to my Desktop and created an COM Interop-Dll.
But then my application crashes everytime i try to use this dll.
Cannot Interop Dll's be used with the compact framework?

Is it possible to use ADOCE at all?

Thanks in advance,
Gustavo
 
..NETCF v1.0 doesn't have COM interop built in so an interop dll generated
with Visual Studio wont function. The interop dll has to be created manually
in two parts - a native dll which consumes the com component and exposes
static methods, and a managed dll to wrap this and expose a managed object
model.
There is a third-party wrapper for ADOCE available, details here:-
www.inthehand.com/dotnet/adoce/

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups

Hi,

ist the SQL Server CE 2.0 the only (Microsoft) database could be used in
..NET?

I've copied the adoce30.dll from my PocketPC to my Desktop and created an
COM Interop-Dll.
But then my application crashes everytime i try to use this dll.
Cannot Interop Dll's be used with the compact framework?

Is it possible to use ADOCE at all?

Thanks in advance,
Gustavo
 
Back
Top