Hi, all:
After upgrading to boost 1.48.0, my code seems to stopping working.
The original code is pretty simple:
char* folderName = "./test";
if (!boost::filesystem::is_directory(
folderName ) )
boost::filesystem::create_directories(
folderName );
It used to work fine but after upgrading to boost 1.48.0, I got the following annoying errors always:
Unhandled exception at 0x51d8ee9e (msvcr90d.dll) in myTest.exe: 0xC0000005: Access violation writing location 0xcdcdcdcd.
The program stops at the line "if (!boost::filesystem::is_directory( folderName ) )", and the call stack seems to hint it's an error coming from memcpy.asm
"
TrailUp1:
mov al,[esi] ;U - get byte from source
;V - spare
mov [edi],al ;U - put byte in destination
mov eax,[dst] ;V - return pointer to destination
pop esi ;U - restore esi
pop edi ;V - restore edi
M_EXIT
"
Can anybody help me out?
Thank you very much....
Best Regards
Pei
--
Pei JIA
cell: +1 604-362-5816
Welcome to Vision Open
http://www.visionopen.com