1. RE: File copy problem

Irv Mullins wrote:
> Some of the info I have found on CopyFileEx() states that 
> this routine is only available on NT, not Win 98 or 95.
> Do you know if this is true? I don't want to spend time 
> trying to decipher those structures just to find out it 
> won't work anyway.

Irv:
  My MSDN library says function supported on NT4 and above;
  Its NOT supported in Windows.
Bernie

new topic     » topic index » view message » categorize

2. RE: File copy problem

Irv:
Couldn't you open the file using windows functions.
Then check it's size and copy it in blocks using the
the block count to update the progress bar.
Bernie

new topic     » goto parent     » topic index » view message » categorize

3. RE: File copy problem

That's not entirely true.  Here's what the June 2001 SDK says:

Remarks:
Windows 98/Me: Although CopyFileExW exists on Windows 98/Me, it is 
supported by the Microsoft Layer for Unicode to provide more consistent 
behavior across all Windows operating systems. To use this, you must add 
certain files to your application, as outlined in Microsoft Layer for 
Unicode on Windows 95/98/Me Systems.

Requirements: 
  Windows NT/2000/XP: Included in Windows NT 4.0 and later.
  Windows 95/98/Me: Included in Windows 98 and later.
  Header: Declared in Winbase.h; include Windows.h.
  Library: Use Kernel32.lib.
  Unicode: Implemented as Unicode and ANSI versions.

This indicates that it might be tricky to support accross all platforms.

-- Brian


Bernie Ryan wrote:
> 
> Irv Mullins wrote:
> > Some of the info I have found on CopyFileEx() states that 
> > this routine is only available on NT, not Win 98 or 95.
> > Do you know if this is true? I don't want to spend time 
> > trying to decipher those structures just to find out it 
> > won't work anyway.
> 
> Irv:
>   My MSDN library says function supported on NT4 and above;
>   Its NOT supported in Windows.
> Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu