CopyFileEx() not working  
Author Message
mansid





PostPosted: Visual C++ General, CopyFileEx() not working Top

Hi,

I am trying to use a function CopyFileEx(from,to).

But it gives me - error C2065: 'CopyFileEx' : undeclared identifier

anything i need to declare

# define _WIN32_WINNT 0x500 is done. it is still giving an error.

Please help.

Thanks

manasi



Visual C++4  
 
 
Sarath.





PostPosted: Visual C++ General, CopyFileEx() not working Top

After defining #define _WIN32_WINNT 0x0501 in stdafx.h (or before including windows.h) it's working fine in my machine.


 
 
Damien Watkins - MSFT





PostPosted: Visual C++ General, CopyFileEx() not working Top

Hello

Re: CopyFileEx() not working

The right place for your question is probably one of the Win32 newsgroups: http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/015/topic.xml

OTP

Thanks

Damien



 
 
mansid





PostPosted: Visual C++ General, CopyFileEx() not working Top

thanks..it worked :) i had not put it before all #include<>..
 
 
mansid





PostPosted: Visual C++ General, CopyFileEx() not working Top

dint know abt this newsgrp..thx..will take care next time..