I'm creating a DLL to use in another application.

I have a struct full of different variables.

I want to create a new instance of this struct within different classes I have inside the DLL.

I then want to reference or access these variables within this struct outside the DLL by way of an interface calling a function that returns the struct.

Can this be done??

I successfully return other data types using an interface, but can't use the same syntax to return my struct. I can't even initialize my struct in the scope of a class (as I can with other data types).

Can what I'm tyring to do be done??