Hi there,
I have recently created a New.dll file using VS 2022 in C# for later implementation into my VB6 program - I have recently taken over software development!
For the meantime, I have created a test software in VS22 C# to test if the New.dll file works.
So far so good, I have added Reference from my test software to the New.dll and added "using [namespace]" to my test program.
Issue: I need to read a string variable from the New.dll file and display it on a textbox on my test software.
How can I read a string variable which is used in New.dll and display on my test software?
FYI - Here is the function where the string variable is processed on my New.dll file - m_sDataSent is the string variable.
public void SendData(string str)
{
if (connection == true)
{
if (Comms != null)
Comms(this, m_sDataSent);
}
}
Many Thanks!