S
schliz
I have a global variable in a cpp file, in this file there is the
implementation of a class. At the constructor, I set the example
variable to " ".
global variable in the same file:
####### file.cpp
std::wstring szVar;
in a constructor of a class in this file, I set this variable to " ":
CMyClass::CMyClass()
{
szVar = L" ";
}
###### file.cpp end
I get:
Detected memory leaks!
Dumping objects ->
{762} normal block at 0x039FAFE8, 16 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
CD
Thank you very much for your help.
Georg
implementation of a class. At the constructor, I set the example
variable to " ".
global variable in the same file:
####### file.cpp
std::wstring szVar;
in a constructor of a class in this file, I set this variable to " ":
CMyClass::CMyClass()
{
szVar = L" ";
}
###### file.cpp end
I get:
Detected memory leaks!
Dumping objects ->
{762} normal block at 0x039FAFE8, 16 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
CD
Thank you very much for your help.
Georg