OpenNetCF question

G

Glyn Meek

We added a routine from the Open NET CF (the clipboard stuff) to our
application. We added the .dll to our program, and built the installation
as normal. Now, when we try to install our product "ProductA", we get the
error message on the Pocket PC

ProductA requires the installation of OpenNETCF.SDF.ppc3.ARM.CAB for it to
run properly. Install the CAB file before running this application

What are we NOT doing?
 
M

Martin

Most probably u should intall OpenNETCF.SDF to the PocketPC
:)
if u do not need to use all the features of the OpenNETCF.SDF and u need
only functions to work with clip
so take a look at projects dependencies and remove all references to
OpenNETCF.SDF assemblies, so
it ought to help u.
 
P

Peter Foot [MVP]

These dependencies are listed in the vsd_config.txt.* files in your
/obj/Debug/ (or /obj/Release) folder. If you are installing the dlls
manually, remove all the lines which refer to the OpenNETCF cabs and you
won't be prompted on install. Also be aware that OpenNETCF.Windows.Forms
which includes the clipboard support, requires OpenNETCF.dll and
OpenNETCF.Drawing.dll

Peter
 
G

Glyn Meek

Peter...forgive the confusion, but this is the first set of OpenNetCF
routines we have used on the Pocket PC, although we had great success on the
Desktop with the RAPI routines, and while the routines work perfectly in
development mode, our confusion comes in what we are supposed to be
'copying' to the Pocket PC, and how we should engineer that copying!

Here's is what I think you are telling me, can you confirm?

1) Include the OpenNETCF.Windows.Forms.dll, OpenNETCF.dll and
OpenNETCF.Drawing.dll in the 'project' as 'content' so that they all get
copied across to the Pocket PC at installation time.
2) Add a 'reference' into the 'project' for OpenNETCF.Windows.Forms
3) Edit the vsd_config.txt files (which I did find !) and remove ALL
references to the OpenNETCF.SDF.ppc3.ARM.CAB file.

This will ensure that the appropriate dlls are copied across to the Pocekt
PC, but will also eliminate the offending and unnecessary request for the
OpenNETCF.SDF.ppc3.ARM.CAB file during the installation process.

Correct, or am I missing something? I think I got confused when you
mentioned "installing the dlls manually"!

Glyn
 
P

Peter Foot [MVP]

This should do it yes. Let me know if you have any problems with that
approach.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top