O'Reilly logo

Windows® CE 3.0 Application Programming by Marshall Brain, Nick Grattan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Write Your Own RAPI Functions with CeRapiInvoke

Earlier in this chapter CeCreateProcess was used to create a process on a Windows CE device. However, because the handles returned in the desktop application actually reside on the Windows CE device, you cannot use these handles to block until the application is terminated. This may be important if you need your desktop application to wait until the CE application has terminated. You can circumvent this problem by writing your own RAPI functions on the Windows CE device and calling them from the desktop using CeRapiInvoke.

To do this you must do the following:

  • Write a dynamic link library (DLL) for the Windows CE device, and implement your own RAPI function. This function must be exported.

  • Call the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required