// evh_native.cpp
[event_source(native)]
class CSource {
public:
__event void MyEvent(int nValue);
};
https://docs.microsoft.com/ko-kr/cpp/cpp/event-handling-in-native-cpp?view=vs-2019
여기서 가져온건데
[event_source(native)]
이게 뜻하는게 머야??
주석같은거임?
// evh_native.cpp
#include <stdio.h>
[event_source(native)]
class CSource {
public:
__event void MyEvent(int nValue);
};
https://docs.microsoft.com/ko-kr/cpp/cpp/event-handling-in-native-cpp?view=vs-2019
여기서 가져온건데
[event_source(native)]
이게 뜻하는게 머야??
주석같은거임?
compiler attribute 던가 그럴 걸
https://docs.microsoft.com/ko-kr/cpp/windows/attributes/event-source?view=vs-2019
ㄳㄳ
VC++에서 따로 지원하는 기능이고 글에 다 설명있잖아
https://docs.microsoft.com/ko-kr/cpp/windows/attributes/event-source?view=vs-2019
ㄳㄳ