Recovered from cvs revision 2007-09-19 11:38:00

This commit is contained in:
2007-09-20 00:34:00 +00:00
parent dd1823659b
commit 841afe975d
4 changed files with 36 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.cs,v 1.2 2007/09/06 09:37:42 bacon Exp $
* $Id: Awk.cs,v 1.3 2007/09/18 14:30:41 bacon Exp $
*/
using System;
@ -50,7 +50,7 @@ namespace ase.com
icpc.FindConnectionPoint(ref g, out icp);
icp.Advise(this, out this.cookie);
}
catch (System.Runtime.InteropServices.COMException ex)
catch (System.Runtime.InteropServices.COMException)
{
this.cookie = -1;
//System.Windows.Forms.MessageBox.Show(ex.Message);

View File

@ -1,5 +1,5 @@
/*
* $Id: StdAwk.cs,v 1.1 2007/09/03 03:50:39 bacon Exp $
* $Id: StdAwk.cs,v 1.2 2007/09/18 14:30:41 bacon Exp $
*/
using System;
@ -37,7 +37,7 @@ namespace ase.com
/* TODO: atoi */
try { t = System.Double.Parse((string)args[0]); }
catch (System.Exception e) { t = 0; }
catch (System.Exception) { t = 0; }
return System.Math.Sin(t);
}

View File

@ -29,10 +29,6 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Interop.ASECOM, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\cnt\obj\Debug\Interop.ASECOM.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
@ -75,6 +71,16 @@
</Compile>
<Compile Include="StdAwk.cs" />
</ItemGroup>
<ItemGroup>
<COMReference Include="ASECOM">
<Guid>{F9C69806-16A1-4162-998A-876B33C470BF}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.