I need to pass data between a c# service and a running vb 6 application, considering using Windows Messaging. How do I pass the data back and forth between a C# service and a running vb 6 application? Shortened sample of the data I am passing back and forth is below:
namespace MainSection
{
public struct Info
{
private int _Id;
private string _TypeCode;
private float _Calc;
private DateTime _ProcessDate;
private bool _ProcessFlag;
public int Id
{
get { return _Id; }
set { _Id = value; }
}
public string TypeCode
{
get { return _TypeCode; }
set { _TypeCode = value; }
}
public float Calc
{
get { return _Calc; }
set { _Calc = value; }
}
public DateTime ProcessDate
{
get { return _ProcessDate}
set { _ProcessDate = value; }
}
public bool ProcessFlag
{
get { return _ProcessFlag}
set { _ProcessFlag = value; }
}
}
}