Click here to Skip to main content
15,888,064 members

Comments by WuRunZhe (Top 73 by date)

WuRunZhe 18-Sep-14 8:31am View    
The main problem is that CPP function make it's local character array variable and send it to C# call back function.

If send null parameter to c# callback, there is no problem. But if send character array variable which is newly created into code, "Memory write protection error" occurred.

I can not find the reason. In c# callback function, I only use parameter not operate it. If I operate it, error could be realized but not.
WuRunZhe 18-Sep-14 7:45am View    
Your answer is good but it't not proper for my question.
WuRunZhe 29-Aug-14 5:15am View    
Yes, you're right.
So what is the answer of question? What is your opinion?
WuRunZhe 29-Aug-14 4:58am View    
Well, original format didn't erase every sectors, it only rewrite FAT table.

"What about Storing trial information on the last raw sector on Hard Disk", last raw sector means the final sector of the hard disk.

I think it could be written before user store data full of hard disk.
WuRunZhe 29-Aug-14 4:46am View    
Well, What about Storing trial information on the last raw sector on Hard Disk?