Hi all,
I have a solution with two projects in it. One of them is a DLL project in C++ and the other is the GUI in C#. I supposed to enter the data from GUI and process them in DLL. I have added reference of DLL to GUI. Say DLL has a class named DLLClass. The data I would like to pass from GUI to DLL is NumberofStudents.
Delcare DLLClass myDLLClass in GUI
Get the value of myDLLClass.NumberofStudents from GUI
When go back to DLL project, NumberofStudents become zero not the input value.
Could anybody help me to figure out what is wrong with it? BTW, I am a beginner to VS.
Thanks in advance!!