|
定义: char * write_string = (char *)malloc(4096 * sizeof(char));//写入的字符串
strcat(write_string,"<Row Index=\"5\"><Cell Index=\"1\"><Data
Type=\"String\">4按时的</Data></Cell><Cell Index=\"2\"><Data Type=\"String\">004004</Data></Cell><Cell Index=\"3\"><Data Type=\"String\">亿千瓦时
</Data></Cell><Cell Index=\"4\"><Data Type=\"Number\">508.7</Data></Cell><Cell Index=\"7\"><Data Type=\"Number\">1111</Data></Cell><Cell Index=\"8\"><Data
Type=\"Number\">1111</Data></Cell><Cell Index=\"9\"><Data Type=\"String\">较上年
</Data></Cell><Cell Index=\"10\"><Data Type=\"Number\">2222</Data></Cell><Cell Index=\"11\"><Data Type=\"Number\">170.18</Data></Cell><Cell Index=\"12
\"><DataType=\"Number\">12.0567634269597</Data></Cell><Cell Index=\"13\"><Data
Type=\"Number\">4.36799685472774</Data></Cell><Cell Index=\"14\"><Data
Type=\"String\"></Data></Cell><Cell Index=\"15\"><Data
Type=\"String\"></Data></Cell><Cell Index=\"16\"><Data
Type=\"Number\">3333</Data></Cell><Cell Index=\"17\"><Data
Type=\"String\">37.49</Data></Cell><Cell Index=\"18\"><Data
Type=\"String\">004004</Data></Cell></Row>");
重复几个上面的strcat
Error: Exception was raised when calling event-notify Vuser function in extension run_time_context.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION |
|