If instead of a class SClass I add a struct SStruct.
Do I need to modify the pragma statement
#pragma link C++ class SClass;
?
If instead of a class SClass I add a struct SStruct.
Do I need to modify the pragma statement
#pragma link C++ class SClass;
?
Hello,
yes you do.
Cheers,
D
Thanks, but it would be good if you indicated how the pragma statement should look like.
Hi,
it should be simply
#pragma link C++ class SStruct;
class
and struct
are really the same thing in C++, it’s just the default visibility of members that changes, so no need for a special keyword.
Cheers,
Enrico
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.