   [C++] Simple DLL and Access violation
  HiIm want to make DLL library and include it into Esenthel engine project, but i have problem which i cant resolve (aswell i cant get any help on esenthel forums).In my dll Ive made some class and it have three properties:-float-int-std::stringWhen I set int to more than three digits number and try to delete object it returns:Unhandled exception at 0x69ad31ea (msvcr90d.dll) in Tutorials.exe: 0xC0000005: Access violation reading location 0xbaadeff4.Call Stack: http://www.copypastecode.com/28320/And when i want to set std::string property it returns:Microsoft Visual Studio C Runtime Library has detected a fatal error in Tutorials.exe.Press Break to debug the program or Continue to terminate the program.Call Stack: http://www.copypastecode.com/28324/Heres link to solution (dll and esenthel) for VS2008, its less than 6MB.http://mkser.ath.cx/~Shimajda/Tutorials.zipTutorials.sln is solution file. If I havent missed anything debug configuration for esenthel(Tutorials) and debug dll for my lib(NetMod) should compile without any changes.Please tell me what Ive done wrong, and what i should do to make it work?Ps. If someone have provlems with DX just open file "00 - Start.cpp" cut lines 14-19 and paste them at the begining of InitPre function (line 9).   