Geoffrey
Guest
|
Posted:
Tue Feb 22, 2005 10:59 pm Post subject:
Problem with HIP compnent |
|
|
Hi, i try to use HIP facility.
I have .TIM dll generated from cobol copybook
i have reference in projoect
I try to create C# class but i have error.
following is my code.
using System;
namespace CsMsgPagoSalario
{
public class PagosalarioHip : Pagosalario.aviso
{
public PagosalarioHip()
{
}
void COMAHO07(ref string LK_IDENTIFICACION_CLIENTE, ref string
LK_CUENTA_CLIENTE, ref int LK_FECHA_DEPOSITO, ref int HORA_DEPOSITO, ref
decimal LK_MONTO_DEPOSITO)
{
//
}
}
}
--
Ihave the following error
C:\Documents and Settings\garaya\My Documents\Visual Studio
Projects\CsMsgPagoSalario\CSPagos.cs(8): 'CsMsgPagoSalario.CSPagos' does not
implement interface member 'Pagosalario.aviso.COMAHO07(string, string, int,
int, decimal)'
thanks |
|
Rob Beardsworth [MSFT]
Guest
|
Posted:
Wed Feb 23, 2005 11:52 pm Post subject:
RE: Problem with HIP compnent |
|
|
HI,
if that is exactly the error message, then it seems to me that the
interface has defined all of the parameters as input only (the "does not
implement" message has no "ref"s in it), whereas your implementation has
ref on each parameter.
Rob Beardsworth
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Thread-Topic: Problem with HIP compnent
From: "=?Utf-8?B?R2VvZmZyZXk=?=" <Geoffrey@discussions.microsoft.com>
Subject: Problem with HIP compnent
Date: Tue, 22 Feb 2005 08:59:05 -0800
Hi, i try to use HIP facility.
I have .TIM dll generated from cobol copybook
i have reference in projoect
I try to create C# class but i have error.
following is my code.
using System;
namespace CsMsgPagoSalario
{
public class PagosalarioHip : Pagosalario.aviso
{
public PagosalarioHip()
{
}
void COMAHO07(ref string LK_IDENTIFICACION_CLIENTE, ref string
LK_CUENTA_CLIENTE, ref int LK_FECHA_DEPOSITO, ref int HORA_DEPOSITO, ref
decimal LK_MONTO_DEPOSITO)
{
//
}
}
}
--
Ihave the following error
C:\Documents and Settings\garaya\My Documents\Visual Studio
Projects\CsMsgPagoSalario\CSPagos.cs(8): 'CsMsgPagoSalario.CSPagos' does
not
implement interface member 'Pagosalario.aviso.COMAHO07(string, string, int,
int, decimal)'
thanks |
|