Automation server with events
Posted on 2005-04-20
I'm trying to develop a small automation dll server in C#.
Everything was fine until I got to events, which I was unable to do.
What I did, was something like :
File | New Project...
Selected "Class Library"
Some of the code was :
public string SetEquipmentName
strEquipmentName = value;
public void Initialize()
catch (Exception e)
This is working fine with the clients, but I need to do throw events like :
void OnEquipmentDisconnect (int ErrorCode, ref string ErrorText)
Please help me.