Page 1 of 1

Record and play back (stylus)?

PostPosted: Mar 26, 2005 @ 11:37pm
by Guest1
Just wondering if you can record the movements of the stylus when writing, to an external file to play back at a later date? or is this impossible with Gapidraw?

If so, what version can it be done in and any clues on how to do it?

If not, thanks for your time

PostPosted: Mar 26, 2005 @ 11:55pm
by dan.p
You have to program the functionality yourself, as you would with any other graphical API.

PostPosted: Apr 5, 2005 @ 5:05pm
by Jonny

PostPosted: Apr 5, 2005 @ 5:56pm
by mlepage

PostPosted: Apr 5, 2005 @ 7:52pm
by Jonny

PostPosted: Apr 5, 2005 @ 8:30pm
by Jonny

PostPosted: Apr 6, 2005 @ 3:22pm
by mlepage

PostPosted: Apr 6, 2005 @ 5:58pm
by Jonny
thanks for that mlepage.

Just wondering how to write to the opened file with writeFile?

WriteFile(
HANDLE hFile,
LPCVOID lpBuffer,
DWORD nNumberOfBytesToWrite,
LPDWORD lpNumberOfBytesWritten,
LPOVERLAPPED lpOverlapped
);

ive got two numbers to send to file and i dont know how to add these to the buffer within the writeFile, can anyone help?

when i write to file is the number of bytes be two or four for 'nNumberOfBytesToWrite'

This method is complicated on how to do

Thanks
Jonny

PostPosted: Apr 6, 2005 @ 7:38pm
by Presto

PostPosted: Apr 6, 2005 @ 10:12pm
by Jonny

PostPosted: Apr 7, 2005 @ 10:10pm
by mlepage

PostPosted: Apr 8, 2005 @ 4:23pm
by Jonny

PostPosted: Apr 8, 2005 @ 5:23pm
by mlepage
Yes you will use fscanf. Discover the "generic text" version of this function. (This is because the Pocket PC uses wide characters, incidentally.) Read the documentation and be sure you get your format string and parameters correct.