From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine."
From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine."


ghub/osg,stmh/osg,stmh/osg,ghub/osg,XiaoCC/osg,ntoand/osg,artoolkit/osg,omega-hub/osg,artoolkit/osg,ntoand/osg,XiaoCC/osg,ghub/osg,stmh/osg,XiaoCC/osg,omega-hub/osg,stmh/osg,XiaoCC/osg,koshman86/osg,stmh/osg,ntoand/osg,artoolkit/osg,koshman86/osg,XiaoCC/osg,koshman86/osg,omega-hub/osg,artoolkit/osg,ntoand/osg,koshman86/osg,omega-hub/osg,ghub/osg