Question about emulator/build/plugin

J

jcornado

Guys:

I am working on a plugin that does the following:

On successful builds (ONLY), it loads and runs an assembly.

Everything works fine until the target framework is the compact framework.


Is there a way to programmatically launch the emulator and have it run
the specific assembly?

Thanks a lot in advance!!!!

José
 
N

Neil Cowburn [MVP]

José,

You *can* programmatically launch the emulator. Heck, if VS can do it, so
can we :)

If you look in \CompactFrameworkSDK\ConnectionManager\Bin in your VS root
directory, you'll see a number of DLLs. One of which is ConMan.dll. Open in
ILDASM (or Reflector) and check out the APIs in the
Microsoft.VisualStudio.DeviceConnectivity namespace.

Also, look here for a few examples of how to use it:
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=613

To actually load and run the assembly, you'll need a simple app that will do
a late-bound call to a known method in the assembly.You can then use RAPI to
launch the assembler loader app.

--Neil
 
J

jcornado

Thanks a lot!!!

I will give it a try ASAP!!
José,

You *can* programmatically launch the emulator. Heck, if VS can do it, so
can we :)

If you look in \CompactFrameworkSDK\ConnectionManager\Bin in your VS root
directory, you'll see a number of DLLs. One of which is ConMan.dll. Open in
ILDASM (or Reflector) and check out the APIs in the
Microsoft.VisualStudio.DeviceConnectivity namespace.

Also, look here for a few examples of how to use it:
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=613

To actually load and run the assembly, you'll need a simple app that will do
a late-bound call to a known method in the assembly.You can then use RAPI to
launch the assembler loader app.

--Neil
 

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