Hi there ,
I have to compare the last value of 2 classes
The 1rst is a notification class and the 2nd is a message class
I have to remember the last value of each of them to compare them ( to not show message if dupplicate text in notification )
I have try to add a new string to memorize the last value in those 2 classes but that doesn't work , I always have nothing in my strings
Here are the points I have add to do it :
- Add declaration memorize strings in both xxxxx.h and yyyyy.h
- Add declaration functions SetMemo and GetMemo in both xxxxx.cpp and yyyyy.cpp
- Add functions source code SetMemo and GetMemo in both xxxxx.cpp and yyyyy.cpp
I have tested step by step :
- The SetMemo works well , it takes the value and save it in memorize string
- The GetMemo works too , take memo string and returns it but the value is empty
I use to develop with C# ... I'm not a C++ expert , maybe I forget something special in C++
I someone could help me to understand what is wrong ...