ホーム WTL Mobile
開発環境
ドキュメント種別 ATL/WTL に関する文書
最終更新日 2009/04/04
PR
 本ドキュメントで使用する開発環境です。

  • Windows Vista Ultimate
    本ドキュメントでは Windows Vista Ultimate を使用します。

  • Visual Studio 2008 Professional Edition
    Windows Mobile 6 アプリケーションの開発には Visual Studio 2005 Standard Edition 以上、または Visual Studio 2008 Professional Edition 以上が必要です。

  • Windows Mobile デバイス センター 6.1
    Windows Mobile と Windows Vista 間の通信に必要です。Windows XP で開発する場合は代わりに ActiveSync をインストールします。

  • Windows Mobile 6 Professional and Standard Software Development Kits Refresh
    Windows Mobile 6 Professional 用アプリケーションを開発するためには Windows Mobile 6 Professional SDK Refresh.msi をインストールし、 Windows Mobile 6 Standard 用アプリケーションを開発するためには Windows Mobile 6 Standard SDK Refresh.msi をインストールします。

  • Windows Mobile 6 Localized Emulator Images
    デバイスエミュレータの各国語イメージです。日本語イメージは 0411/Windows Mobile 6 Professional Images (JPN).msi です。

  • Virtual PC 2007
    デバイスエミュレータからインターネットに接続するために必要な Virtual Machine Network Driver for Microsoft Device Emulator は Virtual PC 2007 に含まれています。


デバイスエミュレータの設定
 Virtual PC 2007 をインストールしただけではデバイスエミュレータからインターネットに接続することはできないため、 以下の手順で設定します。

 まず、デバイスエミュレータを起動します。デバイスエミュレータは Visual Studio から起動できますが、単体でも起動できます。 C:\Program Files\Microsoft Device Emulator\1.0\dvcemumanager.exe を実行するとデバイスエミュレータマネージャが起動するので、 使用するエミュレータを右クリックして[接続]を実行します。



エミュレータが起動するので、メニューの[ファイル]-[構成]を実行し、[エミュレータのプロパティ]の[ネットワーク]タブを開きます。 [ネットワーク]タブでは[NE2000 PCMCIA ネットワーク アダプタを有効にし、次の項目にバインドする]をチェックして[OK]ボタンを押します。



次に、エミュレータの マークをクリックします。



 最後に、[インターネット接続(または VPN 経由)]を選択し、[接続]をクリックします。 これでエミュレータからインターネットに接続できるようになります。