eVC 4.0 Build/Download problem.

G

Guest

Hi,

I am new to eMbedded Visual C++. I am using eMbedded Visual C++ 4.0
and Pocket PC 2003 SDK.

1. How do we make sure that the DLL is actually deployed on to
the Pocket PC 2003 emulator/device. What is the meaning of
"Build target not copied to remote machine during a batch build." message
during
the build process.

2. I am using Windows XP Professional SP2. Do you think that I need to
configure
Platform Manager in eVC in any other way.

When I tried to make a sample dll by using "Batched build" option,
the folowing things are occuring and I am getting "MissedMethodException"
when
I tested the DLL.

Compiling...
StdAfx.cpp
Compiling...
Unmanaged.cpp
Linking...
Creating library emulatorRel/Unmanaged.lib and object
emulatorRel/Unmanaged.exp
Build target not copied to remote machine during a batch build.

Unmanaged.dll - 0 error(s), 0 warning(s)
--------------------Configuration: Unmanaged - Win32 (WCE emulator)
Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
Unmanaged.cpp
Linking...
Creating library emulatorDbg/Unmanaged.lib and object
emulatorDbg/Unmanaged.exp
Build target not copied to remote machine during a batch build.

Unmanaged.dll - 0 error(s), 0 warning(s)
--------------------Configuration: Unmanaged - Win32 (WCE ARMV4)
Release--------------------
Compiling...
StdAfx.cpp
Compiling...
Unmanaged.cpp
Linking...
Creating library ARMV4Rel/Unmanaged.lib and object ARMV4Rel/Unmanaged.exp
Build target not copied to remote machine during a batch build.

Unmanaged.dll - 0 error(s), 0 warning(s)
--------------------Configuration: Unmanaged - Win32 (WCE ARMV4)
Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
Unmanaged.cpp
Linking...
Creating library ARMV4Dbg/Unmanaged.lib and object ARMV4Dbg/Unmanaged.exp
Build target not copied to remote machine during a batch build.

Unmanaged.dll - 0 error(s), 0 warning(s)


Kindly let me know how to deply a dll on to the emulator/device.

Cheers,

Naveen.
 
P

Peter Foot [MVP]

As the message suggests if you do a batch build the version of the DLL for
the current device is not deployed to the device. Once you have built your
native dll you can either copy it to the device manually, or add it to your
managed project as a content file, then it will be deployed to your
application folder. In Visual Studio select Project > Add Existing Item then
browse to your native dll (you will probably need to change the filetypes to
all *.* to see it). Then when added select the file in the Solution Explorer
tree and ensure it's build property is set to Content.
Ensure you deploy the correct CPU version for your target - ARMv4 for an
actual device, X86 for the emulator.

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