Changeset 119


Ignore:
Timestamp:
Dec 21, 2008, 9:45:37 PM (15 years ago)
Author:
mayuki
Message:

64bit環境で残念なことになっていたのをとりあえず回避。

Location:
trunk/MacFaceFloat
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MacFaceFloat/MacFaceApp.cs

    r117 r119  
    130130                        }
    131131
    132             //IOptimusMini.OnKeyDownCallbackDelegate oKD = new IOptimusMini.OnKeyDownCallbackDelegate(OnKeyDownCallbackHandler);
    133             //IOptimusMini.OnDeviceStateChangedCallbackDelegate oDSC = new IOptimusMini.OnDeviceStateChangedCallbackDelegate(OnDeviceStateChangedCallbackHandler);
    134             //IOptimusMini.RegisterEventHandler(oKD, oDSC);
     132            //OptimusMini.OnKeyDownCallbackDelegate oKD = new OptimusMini.OnKeyDownCallbackDelegate(OnKeyDownCallbackHandler);
     133            //OptimusMini.OnDeviceStateChangedCallbackDelegate oDSC = new OptimusMini.OnDeviceStateChangedCallbackDelegate(OnDeviceStateChangedCallbackHandler);
     134            //OptimusMini.RegisterEventHandler(oKD, oDSC);
    135135
    136136            patternWindow = null;
     
    139139            InitializeComponent();
    140140
    141             optimusMini = new IOptimusMini();
     141            // x64 ŠÂ‹«‚Å 32bit ‚È OptimusMini.dll ‚ð“ǂݍž‚à‚¤‚Æ‚·‚é‚Æ“–‘RƒGƒ‰[‚Æ‚È‚é‚̂ʼn½‚à‚µ‚È‚¢ƒNƒ‰ƒX‚É‚µ‚Ä‚¨‚­
     142                    optimusMini = (IntPtr.Size == 4 ? (IOptimusMini)new OptimusMini() : new OptimusMiniMock());
    142143            optimusMini.DisplayOn();
    143144
  • trunk/MacFaceFloat/MacFaceFloat.csproj

    r118 r119  
    102102    <UseVSHostingProcess>true</UseVSHostingProcess>
    103103  </PropertyGroup>
     104  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     105    <DebugSymbols>true</DebugSymbols>
     106    <OutputPath>bin\x86\Debug\</OutputPath>
     107    <DefineConstants>DEBUG;TRACE</DefineConstants>
     108    <BaseAddress>285212672</BaseAddress>
     109    <FileAlignment>4096</FileAlignment>
     110    <DebugType>full</DebugType>
     111    <PlatformTarget>x86</PlatformTarget>
     112    <ErrorReport>prompt</ErrorReport>
     113  </PropertyGroup>
     114  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     115    <OutputPath>bin\x86\Release\</OutputPath>
     116    <DefineConstants>TRACE</DefineConstants>
     117    <BaseAddress>285212672</BaseAddress>
     118    <Optimize>true</Optimize>
     119    <FileAlignment>4096</FileAlignment>
     120    <PlatformTarget>x86</PlatformTarget>
     121    <ErrorReport>prompt</ErrorReport>
     122  </PropertyGroup>
    104123  <ItemGroup>
    105124    <Reference Include="System">
     
    150169      <SubType>Form</SubType>
    151170    </Compile>
    152     <Compile Include="IOptimusMini.cs">
     171    <Compile Include="OptimusMini.cs">
    153172      <SubType>Code</SubType>
    154173    </Compile>
Note: See TracChangeset for help on using the changeset viewer.