There were existing codes written with Carbon APIs. It has worked so far, but strangely it started malfunctioning. I simplified the troubled part by statically allocating memory it uses to show the problem more clearly here.
memset( testData, ‘P’, 400);
/////
g_total_length = 400;
g_paged_aligned_buffer = testData;
int numIter;
numIter = 0;
while( numIter < 4 )
{
err = FSWriteFork(refNumOut, thePositionMode, 0, g_total_length,
g_paged_aligned_buffer, [...]
Archive for the ‘Carbon’ Category
9 Mar
Entire (RSS)
Recent Comments