Paul,
It's sort of through the process of elimination. If you write a tiny app
that doesn't do much more than use a type that would be required by the
unmanaged DLL and that one works - then your bigger app probably has the
space problem. If that's the case, using a type which gets the DLL loaded
very early in your big app's execution will generally work.
Ginny Caughey
Device Development MVP
> Hi,
>
[quoted text clipped - 6 lines]
>
> Paul
paul.diston@skillweb.co.uk - 29 May 2008 17:18 GMT
Hi,
I am seeing some very strange results. If I explain my scenario then
maybe you could shed some light on it.
We use SQL CE to store some XML data, however before we insert this
data we delete the existing data and then compact the database, we
then insert the new XML data and then upload some XML data to a
server, this uploaded XML data is then deleted and then we compact the
database.
In both the above compactions the 'could not load sqlcecompact30.dll'
exception occurs.
Further along in the application process, we insert some more data
into the database, after a certain period we then upload this data to
the server as above and then compact the database.
In this compaction the 'could not load sqlcecompact30.dll' exception
DOES NOT occur.
As you can see this is inconsistent, if there was a space problem then
all compactions should fail.
Can you think of a reason why I may be seeing these results.
Thanks in advance.
Paul Diston
Ginny Caughey MVP - 29 May 2008 17:56 GMT
Paul,
I agree with your logic, and I don't see any obvious reason why you
sometimes get the message and sometimes don't.
Ginny
> Hi,
>
[quoted text clipped - 25 lines]
>
> Paul Diston
paul.diston@skillweb.co.uk - 29 May 2008 17:19 GMT
Hi,
I am seeing some very strange results. If I explain my scenario then
maybe you could shed some light on it.
We use SQL CE to store some XML data, however before we insert this
data we delete the existing data and then compact the database, we
then insert the new XML data and then upload some XML data to a
server, this uploaded XML data is then deleted and then we compact the
database.
In both the above compactions the 'could not load sqlcecompact30.dll'
exception occurs.
Further along in the application process, we insert some more data
into the database, after a certain period we then upload this data to
the server as above and then compact the database.
In this compaction the 'could not load sqlcecompact30.dll' exception
DOES NOT occur.
As you can see this is inconsistent, if there was a space problem then
all compactions should fail.
Can you think of a reason why I may be seeing these results.
Thanks in advance.
Paul Diston