C
Christian Kaiser
Hmmm. I just got the following compiler messages:
test_cpp.cpp
d:\src\logsolar\datasources\test_cpp\test_cpp.h(18) : error C3760: please
use __property keyword to declare property in managed 'test_cpp'
d:\src\logsolar\datasources\test_cpp\test_cpp.h(19) : error C3760: please
use __property keyword to declare property in managed 'test_cpp'
d:\src\logsolar\datasources\test_cpp\test_cpp.h(21) : error C4980:
'__property' : use of this keyword requires /clrldSyntax command line
option
(the first two lines had __declspec(), the third __property).
Well, what should I do now? I thought the __declspec metod would be the
newer one, but I cannot use it - and then it tells me I need to use the
'old' syntax.
Is there a better way to declare properties in a C++ class (interface
implementation!)?
Christian
test_cpp.cpp
d:\src\logsolar\datasources\test_cpp\test_cpp.h(18) : error C3760: please
use __property keyword to declare property in managed 'test_cpp'
d:\src\logsolar\datasources\test_cpp\test_cpp.h(19) : error C3760: please
use __property keyword to declare property in managed 'test_cpp'
d:\src\logsolar\datasources\test_cpp\test_cpp.h(21) : error C4980:
'__property' : use of this keyword requires /clrldSyntax command line
option
(the first two lines had __declspec(), the third __property).
Well, what should I do now? I thought the __declspec metod would be the
newer one, but I cannot use it - and then it tells me I need to use the
'old' syntax.
Is there a better way to declare properties in a C++ class (interface
implementation!)?
Christian