hi,
I wrote class library that contain a struct stX and a new class library that
get the first class library as referance and implement a function foo that
one of its parametrs is of type of the struct stX;
I wrote an application(exe) that get the first class library as a referance
and have a member of type stX and have a referance of the second class
library and caled to its function foo.
The problem is when i pass the exe member of type stX to the class library
the compiler thinks it a diffrent type of the type the function foo needs
why???
Can i share types between dll and exe in diffrent way???
Thanks