CopyFileEx API Call
- Posted by Larry Miller <lmiller7 at mail.com> Oct 03, 2004
- 453 views
I have been trying to use the CopyFileEx function with a call back routine provided by call_back(). The copy works and progress is reported, but there is a machine exception when CopyFileEx returns. I believe the problem is that CopyFileEx is passing too many parameters. It passes no less than 9 separate parameters, 4 of which are LARGE_INTEGERS, for a total of 13 32 bit values. According to the Euphoria documentation a maximum of 9 are allowed for a callback function. This is with Euphoria 2.4 on Windows 2000. Am I understanding the situation incorrectly or is this a real problem? Is there some way I can use this function? My experience with Win32Lib and Windows programming is somewhat limited. Maybe one of you seasoned programmers can shed some light on the subject. Larry Miller