Original Post
I know how to export a variable, a function and even a class...
Now, I truied to export a struct but I just couldn't make it...
where in the followed code do you place the __declspec(dllexport) :
typedef struct
{
char name[128];
int age;
} Person;
[/source}
Thanks,
Amadrias
Edited by - amadrias on January 12, 2002 3:45:35 PM |