EDN Admin
Well-known member
Do anybody know exactly how to find such problems
with L"Buffer is too small && 0" as VS2005 only
tells us something like:
Debug Assertion Failed!
Problem: ...
File: ..tcscpy_s.inl
Line: 30
Expression: ("Buffer is too small && 0" )
Actually I do NOT know how to find out exactly
the code which causes the problem.
strcpy_s((char *)deviceName, sizeof(deviceName), volumePath);
Those codes which could cause the problem actually
I checked all of them but I did not figure out how to
find which causes the error, thank you.
View the full article
with L"Buffer is too small && 0" as VS2005 only
tells us something like:
Debug Assertion Failed!
Problem: ...
File: ..tcscpy_s.inl
Line: 30
Expression: ("Buffer is too small && 0" )
Actually I do NOT know how to find out exactly
the code which causes the problem.
strcpy_s((char *)deviceName, sizeof(deviceName), volumePath);
Those codes which could cause the problem actually
I checked all of them but I did not figure out how to
find which causes the error, thank you.
View the full article